I am trying to get a query to use the input that will be entered into a form using a control box and not pop-up a parameter box when the form is open. This is the code I am using in the query:
SELECT Customer.CUST_FNAME, Customer.CUST_LNAME, Customer.CUST_ADDRESS, Customer.CUST_CITY, Customer.CUST_STATE, Customer.CUST_ZIP, Customer.CUST_HOMEPHONE, Customer.CELL_NUMBER
FROM Customer INNER JOIN Loaner_Phone ON Customer.CUST_ID = Loaner_Phone.CUST_ID
WHERE (Loaner_Phone.LOANER_ID)=[Forms]![LoanerSub]![LOANER_ID];
Everytime I open the form the parameter box pops up, also whenever I get into the form and change the data in the drop down control box, the parameter box pops-up again asking for the same info. I would just like to change the code to where it will get the information from that drop down box. Any suggestions?
Thanks in Advance.