We have an accdb database developed in Acc2010 on an XP PC. On a new Win7 PC with Acc2010 the database worked fine for UserA, but UserB on the same PC got the error: Function is not available in expressions in query expression "Ucase([MyField])..." (Ucase() is the only function in the query expression. The same happened with Lcase() in other query expressions.)
This sort of error is usually observed when there are missing Library References. There were were no missing references for either user. The database compiled successfully for both users, etc.
Eventually we found the problem: the file location appeared twice in UserB's Trusted Locations. We deleted one of the duplicate locations, and all was well.
Hope that helps some other poor soul.
This sort of error is usually observed when there are missing Library References. There were were no missing references for either user. The database compiled successfully for both users, etc.
Eventually we found the problem: the file location appeared twice in UserB's Trusted Locations. We deleted one of the duplicate locations, and all was well.
Hope that helps some other poor soul.