DoCmd.OpenReport "R:Test Report", , , "School =" & MyField
The above reults in "Syntax Error (3075) missing Operator in query expression"
The field variable is correctly picking up the values I want but the OpenReport method refuses to run (I am simply attempting to cycle through a dataset and print a report for each record).
Any help gratefully received!
Thanks
Chris
The above reults in "Syntax Error (3075) missing Operator in query expression"
The field variable is correctly picking up the values I want but the OpenReport method refuses to run (I am simply attempting to cycle through a dataset and print a report for each record).
Any help gratefully received!
Thanks
Chris