Functions work in code but not queries

Rob007

Registered User.
Local time
Today, 03:12
Joined
Jul 5, 2004
Messages
19
I have a problem where I can create queries in code using functions such as Left() and they will work fine on my clients machines with a complied MDE file but if I try to use the same function in a saved querie they get an error: "Function is not available in expressions in query expression..."

The Queries work fine on my machine but not on those using Access Runtime. From my research it appears to be a problem with them not having the correct Reference on their machine. If that is true then which Reference do they need and is there away of installing that Reference by code?

Thanks for your help....
 
Yes this is a reference problem, I think all the VBA functions are in the Visual Basic for Application DLL
 

Users who are viewing this thread

Back
Top Bottom