My problem is this:
I have a for form with a button to run a report. The report runs a query. The query reads data on the form to feed the report. The data that is from the table works fine but data from a text box on the form will not. It prompts for EXPR1.
In my query I have the following:
EXPR1: [Cnum]
[Forms]![FRM-Customer]![Cnum]
where FRM-Customer is the form with the button to run the report and Cnum in the text box data that I want to pass to the report. Every time I run it it prompts Cnum?
Any ideas... Thanks in advance
I have a for form with a button to run a report. The report runs a query. The query reads data on the form to feed the report. The data that is from the table works fine but data from a text box on the form will not. It prompts for EXPR1.
In my query I have the following:
EXPR1: [Cnum]
[Forms]![FRM-Customer]![Cnum]
where FRM-Customer is the form with the button to run the report and Cnum in the text box data that I want to pass to the report. Every time I run it it prompts Cnum?
Any ideas... Thanks in advance