G
Guest
I have a report that prints an order based on a unique order number. The
query behind the report obtains the order number from a text box on a
criteria form. I want this text box to be filled in two ways. The first way
is to update a combo box on the criteria form by entering a date range and
filling yhe text box with the selection from the combo box (this works fine).
The second way is to fill the text box directly from the order number text
box on the order entry form which works except when I want to generate the
report, i.e. preview/print the order, the following error occurs:
"Syntax error (missing operator) in quey expression 'OrderID ='."
The reason for being able to print the order in two ways is so that the
order information can be keyed in and the order printed latter or printed
immediately after the information is entered directly from the order entry
form.
If anyone can suggest a solution it would be much appreciated.
cheers,
query behind the report obtains the order number from a text box on a
criteria form. I want this text box to be filled in two ways. The first way
is to update a combo box on the criteria form by entering a date range and
filling yhe text box with the selection from the combo box (this works fine).
The second way is to fill the text box directly from the order number text
box on the order entry form which works except when I want to generate the
report, i.e. preview/print the order, the following error occurs:
"Syntax error (missing operator) in quey expression 'OrderID ='."
The reason for being able to print the order in two ways is so that the
order information can be keyed in and the order printed latter or printed
immediately after the information is entered directly from the order entry
form.
If anyone can suggest a solution it would be much appreciated.
cheers,