G
Guest
All,
I am trying to automate the generation of a 94 page report. The user has
already created all of the queries needed for the report and I am just
writing the code to tie everything together.
Everything has been going as expected with no problems until I got down to
the last 4 queries. I can run the query fine from design mode but when I
execute it from code I get the following error: "Data Type Mismatch in
Criteria Expression", error # 3464.
I execute by coping the sql to a string variable and then use it as part of
the recordset open command.
The sql statement returns a length of 1942. I am sure the problem is
associated with the length but I haven't found the answer yet.
thanks for your help all.
Terry
I am trying to automate the generation of a 94 page report. The user has
already created all of the queries needed for the report and I am just
writing the code to tie everything together.
Everything has been going as expected with no problems until I got down to
the last 4 queries. I can run the query fine from design mode but when I
execute it from code I get the following error: "Data Type Mismatch in
Criteria Expression", error # 3464.
I execute by coping the sql to a string variable and then use it as part of
the recordset open command.
The sql statement returns a length of 1942. I am sure the problem is
associated with the length but I haven't found the answer yet.
thanks for your help all.
Terry