Rundialog question

I’m super rusty. I want to open a simple form as a dialog so I can check a box or two, click OK, and resume the procedure.

loop
rundialog {Form=Categories Height=500 Width=400}
stoploopif info(“trigger”)=“Dialog.OK”
endloop

This opens the form and closes the dialog when I click OK, but the procedure doesn’t continue. What am I missing?

Thanks,
Jeff

Every button in the form needs to trigger this code:

resume ""

On the other hand, since the dialog closes when you click ok, I think you have already done that. So that leaves me stumped, given the information supplied.

I had closedialog AS the procedure. It works with resume “”.

Thanks,
Jeff