J
JCook
I want access to automatically fill in several fields based on a unique
customer number that the user will enter. I have a table set up with all of
the information I need to retrieve but I don't know which type of box on my
form I need to use to have access automatically fill in the relevant fields.
If I use a combo box, I have to click on each field for the data to be
retrieved. If I use a text box, my SQL statement doesn't work in the
expression window. Here is an example of my SQL statement:
SELECT Customers.BillingAddress
FROM Customers
WHERE ((([CustomerID])=([Customers].[CustomersID])));
Any help would be appreciated.
customer number that the user will enter. I have a table set up with all of
the information I need to retrieve but I don't know which type of box on my
form I need to use to have access automatically fill in the relevant fields.
If I use a combo box, I have to click on each field for the data to be
retrieved. If I use a text box, my SQL statement doesn't work in the
expression window. Here is an example of my SQL statement:
SELECT Customers.BillingAddress
FROM Customers
WHERE ((([CustomerID])=([Customers].[CustomersID])));
Any help would be appreciated.