A
Ayo
I have this form with about 4 comand buttons on it but 1 of them is not
working the way it should.
Private Sub cmdChangeVendor_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "Selection Vendor and Reviewer", acNormal
End Sub
Private Sub cmdMainMenu_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "Invoice Database Launch", acNormal
End Sub
cmdMainMenu_Click works fine but cmdChangeVendor_Click doesn't work.
"Selection Vendor and Reviewer" doesn't open, nothing open. but when I run it
using the Toggle Breakpoint everything works the way it should. The other
thing is when I try to use this variation:
Private Sub cmdChangeVendor_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm Forms![Selection Vendor and Reviewer], acNormal
End Sub
I get an error saying that "Selection Vendor and Reviewer" doesn't exist
when I know damn sure it does.
Can any one tell me what is going on here?
Thanks
working the way it should.
Private Sub cmdChangeVendor_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "Selection Vendor and Reviewer", acNormal
End Sub
Private Sub cmdMainMenu_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "Invoice Database Launch", acNormal
End Sub
cmdMainMenu_Click works fine but cmdChangeVendor_Click doesn't work.
"Selection Vendor and Reviewer" doesn't open, nothing open. but when I run it
using the Toggle Breakpoint everything works the way it should. The other
thing is when I try to use this variation:
Private Sub cmdChangeVendor_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm Forms![Selection Vendor and Reviewer], acNormal
End Sub
I get an error saying that "Selection Vendor and Reviewer" doesn't exist
when I know damn sure it does.
Can any one tell me what is going on here?
Thanks