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

Position of a "."

Status
Not open for further replies.

lakers8175

IS-IT--Management
Sep 18, 2001
67
US
I am trying to get all the characters to the left of a field up the the ".". In a query can anyone help.
Example.
368.
17.
145678.
Result
368
17
145978
 
Left("[FieldName]", InStr(1, "[FieldName]", ".", 1) - 1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top