annsolomon
MIS
I want to prompt the user for a purchase order number (using an inputbox) then open the form for that specific purchase order. My inputbox works and the correct purchase order is opened but I get a second prompt for the parameter FindPO.
How can I set the Where clause of DoCmd.OpenForm to use the value for FindPO that the user entered in the inputbox?
Dim FindPO As String
FindPO = InputBox("Enter the PO #", "Bionetics PO System"
DoCmd.OpenForm "frmPO", , , "PONumber=FindPO"
Ann
How can I set the Where clause of DoCmd.OpenForm to use the value for FindPO that the user entered in the inputbox?
Dim FindPO As String
FindPO = InputBox("Enter the PO #", "Bionetics PO System"
DoCmd.OpenForm "frmPO", , , "PONumber=FindPO"
Ann