S
steve12173
I had created a database in Access 2003 and now my company is switching to
Office 2007. The database works fine except, for the button to run a query
after the criteria has been entered on a form.
Here is the code on the button:
Private Sub Search_Click()
Me.Visible = False
DoCmd.OpenForm "frmSearchTransitionLeadsQuery", acViewNormal, acEdit
DoCmd.Close acForm, "frmSearchTransitionLeads"
End Sub
The Debugger highlights this section:
DoCmd.OpenForm "frmSearchTransitionLeadsQuery", acViewNormal, acEdit
Anyone see a problem with this?
Office 2007. The database works fine except, for the button to run a query
after the criteria has been entered on a form.
Here is the code on the button:
Private Sub Search_Click()
Me.Visible = False
DoCmd.OpenForm "frmSearchTransitionLeadsQuery", acViewNormal, acEdit
DoCmd.Close acForm, "frmSearchTransitionLeads"
End Sub
The Debugger highlights this section:
DoCmd.OpenForm "frmSearchTransitionLeadsQuery", acViewNormal, acEdit
Anyone see a problem with this?