access toolbar or menus from modal dialog

T

TNL

Hi,
I use "docmd.openform" to open a form in modal dialog modus.
The user must click "OK" or "Cancel" button to close this dialog.
But the users cann't longer access the toolbar or Menus from this form.

I want to enable the function "search", standard function of access, with a
commandbutton and the code
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
or
RunCommand acCmdFind

but it doesn't work, I think, is isn't possible, why my form is opened as
modal.

How can I do?

Thanks
TNL
 

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