diddydustin
Programmer
Hi,
I have a query, EMR_TotalSheets, that selects job numbers and the max number of sheets (this is a production facility) for each job.
I want to query this query for the job number, but I having trouble doing so.
I'm trying this:
SELECT [EMR_TotalSheets].[Max of Count_Stop] FROM EMR_TotalSheets WHERE [EMR_TotalSheets].Job_No = Forms!EMR_Sheeter!Job_No.Value
The result is a #NAME? in the textbox I am trying to to use.
Note, the Forms!EMR_Sheeter!Job_No.Value is a value that is coming from the current form with the job number they entered.
Can anyone see what I am doing wrong?
Thanks
Dustin
I have a query, EMR_TotalSheets, that selects job numbers and the max number of sheets (this is a production facility) for each job.
I want to query this query for the job number, but I having trouble doing so.
I'm trying this:
SELECT [EMR_TotalSheets].[Max of Count_Stop] FROM EMR_TotalSheets WHERE [EMR_TotalSheets].Job_No = Forms!EMR_Sheeter!Job_No.Value
The result is a #NAME? in the textbox I am trying to to use.
Note, the Forms!EMR_Sheeter!Job_No.Value is a value that is coming from the current form with the job number they entered.
Can anyone see what I am doing wrong?
Thanks
Dustin