Error using text functions in queries

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

I am having problems running SQL selects that contains text
functions, specifically SELECT a FROM DB where LEFT(a,2) =
"12";. The error is a compile error and highlights "LEFT(a,2)"

Queries used to work, but now they do not. I do not know
what I did to create the problem. Any ideas???
 
I am having problems running SQL selects that contains text
functions, specifically SELECT a FROM DB where LEFT(a,2) =
"12";. The error is a compile error and highlights "LEFT(a,2)"

Queries used to work, but now they do not. I do not know
what I did to create the problem. Any ideas???

This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.
 
thanks, this solved the problem. Is there a plan to
eliminate this as well as the problem with default printers?
 
thanks, this solved the problem. Is there a plan to
eliminate this as well as the problem with default printers?

I sure hope so. It's been a problem since Access 1.0 however!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top