Need to DoCmd from an acDialog form

  • Thread starter Thread starter theSkipper
  • Start date Start date
T

theSkipper

Guest
I am opening a form from VB as acDialog, so that it's modal and so the VB waits until the form is closed before continuing.
However: on the form I have a button which invokes the menu command Find & Replace, using DoCmd.
This doesn't work. I get a message "command not available", because the form has PopUp = True.
How do I get round this??
 
In the properties of your opened form set a popup and modal to true, in VB instead of acdialog set to acWindowNormal
 

Users who are viewing this thread

Back
Top Bottom