Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2008

Tip: Looking for answers? Try searching our database.

Left function query error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bkwilliams - 20 May 2008 08:46 GMT
I am attempting to extract the first 2 digits of a 6-digit number in column
CX for a new column. I've entered the following for the query:

NEW:Left([CX],2)

but receive the following error msg: "The syntax of the entered expression
is not correct.  You omitted an operand or an operator, you have entered a
character or an invalid comma, or text without delimiting it by quotation
marks"

This should be a straightforward operation, but I'm not sure where the
problem is. Thanks very much.
bkwilliams - 20 May 2008 09:11 GMT
The problem is solved...for some reason I had to replace the comma with a
semicolon. I'm using the French language version in Switzerland, for anyone
else who runs across a similar problem.
John Spencer - 20 May 2008 13:11 GMT
The separator character (comma or semi-colon or ???) is set by the Regional
and Language options control panel of the computer.  In most European
countries that means the character is the semi-colon.  In the US it is most
often the comma, unless someone has (unwisely) chosen to set it to something else.

John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County

> The problem is solved...for some reason I had to replace the comma with a
> semicolon. I'm using the French language version in Switzerland, for anyone
> else who runs across a similar problem.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.