E
Ed
I'm trying to make a customized dialog box for a parameter query. I
can't get the command buttons to work. Here's the code I'm using:
Private Sub cmdCancel_Click()
DoCmd.Close acForm, "frmLocationSelector"
End Sub
Private Sub cmdOK_Click()
DoCmd.OpenQuery "qryPhysicalCountEntryTool", acViewNormal, acEdit
DoCmd.Close acForm, "frmLocationSelector"
End Sub
When I click either button, an error saying "Invalid procedure call or
argument." What am I doing wrong?
Thanks for your help.
can't get the command buttons to work. Here's the code I'm using:
Private Sub cmdCancel_Click()
DoCmd.Close acForm, "frmLocationSelector"
End Sub
Private Sub cmdOK_Click()
DoCmd.OpenQuery "qryPhysicalCountEntryTool", acViewNormal, acEdit
DoCmd.Close acForm, "frmLocationSelector"
End Sub
When I click either button, an error saying "Invalid procedure call or
argument." What am I doing wrong?
Thanks for your help.