View Single Post
  #4  
Old February 21st, 2008, 11:22 PM posted to microsoft.public.access.queries
MGFoster
external usenet poster
 
Posts: 653
Default Undefined function 'Left' in expression

The Joker via AccessMonster.com wrote:
Hello all,

First off I want to say I read a lot of the previous posts about this issue
and none seem to be similar to mine. I am working on a database someone
before me had created, actually it was two databases so I'm combining them
into one since there is no reason to have two of them and I'm automating them
to buttons (instead of manually running multiple queries, macros, etc). Now
when I run through the queries I'm getting the "Undefined function 'Left' in
expression" error. This doesn't deal with VBA, just simply queries but I
still checked for missing references and there were none. I've tried now
creating a basic query with only one field and used the Builder to create an
expression using left on a select query and it still gives me this error.
What would make it so I can't use the Left function in any query? Thanks for
any assistance you can provide!


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Make sure the query doesn't have just the word LEFT without any
parentheses. If that is OK, it may not necessarily be a MISSING
reference as a reference that isn't checked. Make sure the reference
"Visual Basic for Applications" is checked. The Left() function in
Access is a VBA function.

About combining the databases - if the dbs are a front-end (forms,
reports, queries) and a back-end (only tables) then the reason there are
2 dbs may be that the original creator planned to deploy the front-end
amongst the users (each user requires a copy of the front-end on their
PC - the front-end has links to the tables in the back-end). Forgive me
if you already know this, but so many people who post here haven't the
slightest idea about this concept.
--
MGFoster:::mgf00 at earthlink decimal-point net
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBR74HzIechKqOuFEgEQLrGACg1Vs20f4qNvuXS+ZIBjMLFh 8EnW4AoMNO
AHikJH/jpmeqLxkUZ63C7QFS
=imgG
-----END PGP SIGNATURE-----