S
Scrimmo
Although queries using columns from tables/queries are working fine, queries
that use functions fail.
For example, this query:
SELECT Schedule.S_WEEK, nz([S_LWEEK],0) AS Expr1
FROM Schedule;
fails with the following error message:
Compile error . in query expression 'nz([S_LWEEK],0'.
This appears to be happening with any function, and whether I use the
expression builder (which puts the table name in as well).
This is the first time I've come across this - I've been using Access for
years.
Any ideas, anyone?
Oh, by the way, S_LWEEK is a Long Integer, but I'm getting this on Integers
as well.
The database is in a trusted location, and I've even turned Sandbox off for
Access, although the pages that told me how to do that didn't mention NZ in
either the "Blocked" or "Works OK" list.
Thanks
that use functions fail.
For example, this query:
SELECT Schedule.S_WEEK, nz([S_LWEEK],0) AS Expr1
FROM Schedule;
fails with the following error message:
Compile error . in query expression 'nz([S_LWEEK],0'.
This appears to be happening with any function, and whether I use the
expression builder (which puts the table name in as well).
This is the first time I've come across this - I've been using Access for
years.
Any ideas, anyone?
Oh, by the way, S_LWEEK is a Long Integer, but I'm getting this on Integers
as well.
The database is in a trusted location, and I've even turned Sandbox off for
Access, although the pages that told me how to do that didn't mention NZ in
either the "Blocked" or "Works OK" list.
Thanks