Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Left fonction doesn't want to work

Status
Not open for further replies.

aleathiel2005

Technical User
May 24, 2005
13
CA
Hi all,

I have a query that need a left function. The field is as follow:

SHIPPING3: Left([SHIPPING_INSTR],3)

It was working at my work, but when I tried to opened the query at my house with access 2003, it gave me the following error message:

Undefined fonction 'Left' in expression

Someone know why it does that and if there is a way to correct it? Every fonction that i tried like left, right or format wasn't working anymore, it was kind of pathetic :p

Thanks for your help!

Alea
 
Seems like a reference issue:
when in VBE (Alt+F11) menu Tools -> References ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 


Hi,

Are you querying to a LINKED table? Maybe Oracle or DB2?

The use the Substr function
[tt]
SHIPPING3: Substr([SHIPPING_INSTR],1,3)
[/tt]
Alternatively, you may be missing a VB library -- reload Access

Skip,

[glasses] [red]Be Advised![/red] For those this winter, caught in Arctic-like calamity, be consoled...
Many are cold, but few are frozen![tongue]
 
Thanks for the fast response!

Seem like I'm missing some rence, where can i get them?
 
When you say relaod access you mean uninstall and reinstall everything?
 
thanks a lot for all this information, I'm ok now with your great answer, hope i can help you someday :) (when I will be even better in access)

Alea
 
We all hope to be able to help PHV SOMEDAY, however, I don't expect to actually accomplish it in my lifetime.

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top