3075 error in query expression with LEFT and RIGHT function

babu

Registered User.
Local time
Today, 11:03
Joined
Jul 10, 2008
Messages
12
Hi All,
I need your help on this.
In my Access 97 m/c, when i am running a query as
select * from tbl_xxx where LEFT(field1,10) = "text 1" and right(field2,10)="text 2".

While running i am getting the Error as :

3075 function is not availabale in expressions in query expression LEFT(field,10) = "text 1"

Please can you let me know what are the libraries in the references i should add to get rid of this error.

Thanks a lot for all your help in advance.
 
What is the "text 1" is it a field or a text
 
Text 1 is a text say "abc".
 
Hi khawar,
Thanks for your reply. I didn't get your answer. Please can you tell me in more detail.
 
It's a copy paste error, sorry about that.
the code is : WHERE LEFT(Reason,10) = "Range Tail" . It working fine in the production i.e. in tehuser PC. But when trying to run the same thing ibn my PC it's giving thsi error.

Please can you help.
 
Thanks a lot Bob.
It's working fine now.
 

Users who are viewing this thread

Back
Top Bottom