Can anyone help me?
Im using the DoCmd.OpenReport comand with a where statement that changes depending on options chosen by the user. This works fine with normal select queries, but when I the report has a Crosstab query I get the following error message:
Run-time error '3070':
The Microsoft Jet database engine does not recognize <name> as a valid field name or expression. (Error 3070)
I know the field is correct as it works when the report has a plain select query attached.
This is baffling me, hope someone can help.
Timko
Im using the DoCmd.OpenReport comand with a where statement that changes depending on options chosen by the user. This works fine with normal select queries, but when I the report has a Crosstab query I get the following error message:
Run-time error '3070':
The Microsoft Jet database engine does not recognize <name> as a valid field name or expression. (Error 3070)
I know the field is correct as it works when the report has a plain select query attached.
This is baffling me, hope someone can help.
Timko