I want to use a command button in 1st form to open a 2nd form that meets two “WHERE” conditions.
One of the conditions is the customer number (ordh_cust_no) that resides in both forms. Then I want user to enter second condition, Item Code, to meet the condition in a text box (txt_ordd_stock _no) from the 2nd form.
When I use the command button wizard, the wizard created the following where statement in the Expression Builder.
How do I make Access to ask for the manually entered 2nd condition so it display only records that meet both conditions?
One of the conditions is the customer number (ordh_cust_no) that resides in both forms. Then I want user to enter second condition, Item Code, to meet the condition in a text box (txt_ordd_stock _no) from the 2nd form.
When I use the command button wizard, the wizard created the following where statement in the Expression Builder.
Code:
="[ordh_cust_no]=" & "'" & [txt_ordh_cust_no] & "'"
Comment