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
 
Top