Set focus on close of pop up

G

gdonald20

Hi

I have a main form from which i open a modal pop up form.

On closing the pop up i want to set the focus back on the main form but
can't appear to do it. I've tried on close events using set.focus on a
particular field but it does not appear to work.

Ayn help would be appreciated.

Thanks

Gillian
 
D

Dennis

I assume the popup is set to acDialog. If that's the case, just do the work
in the calling form once the dialog box closes. Nothing to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top