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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Left Function in a query

Status
Not open for further replies.

andytheit

IS-IT--Management
Dec 23, 2005
9
GB
I am trying to use the left function in a query in Access 2003

left ([DESC],5).

I am entering it in expression builder but it keeps saying invalid syntax..

Also has anyone used Kaione's SprintDB Pro for pocket pc?
I am having trouble with that as well!!

Thanks for any help

Andy
 
did you use the builder to write the syntax? What error message are you getting exactly?
 
This might be a references issue. Check
You should take your "SprintDB" question to a more appropriate forum.


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
The error message is
"you omitted an operand or operator, you entered an invalid character or comma, or you entered text without surrounding it in quotation marks
 
If you had copied and pasted from you query, I would not expect to see:
left ([DESC],5).
The l would be L and there would be no space between left and (.

What is your full SQL view?

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Some locales use semicolon:
Left([DESC];5)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top