Hi Everyone, I have another simple problem!
I have a text box that the user inputs a customer id into then when they hit the search button i run a query that should display all of the records for that customer id, however, nothing comes up when i run it!
If its a parameterised query with the little box that comes up and the user enters the number there it displays the details fine but it just won't work this other way! Can anyone tell me what I'm doing wrong?
My query is this:
SELECT Customer.AutoNum, Customer.CompanyName
FROM Customer
WHERE (((Customer.AutoNum)=[Forms]![Form1]![findNum]));
findNum is the textbox that the user inputs the numbr into. I know this is probably simple - Millions of thanks in advance!
I have a text box that the user inputs a customer id into then when they hit the search button i run a query that should display all of the records for that customer id, however, nothing comes up when i run it!
If its a parameterised query with the little box that comes up and the user enters the number there it displays the details fine but it just won't work this other way! Can anyone tell me what I'm doing wrong?
My query is this:
SELECT Customer.AutoNum, Customer.CompanyName
FROM Customer
WHERE (((Customer.AutoNum)=[Forms]![Form1]![findNum]));
findNum is the textbox that the user inputs the numbr into. I know this is probably simple - Millions of thanks in advance!