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

Hiding from Right

Status
Not open for further replies.

CarrieR

Technical User
Nov 9, 2001
60
US
I have a field as such: D9999*01, next record will be D10000*01. How can I hide the *01 (last 3 digits) either from the D9999*01 or the incremental D10000*01? This will be in a query.
 
something like:

SELECT Left(fieldName, InStr(fieldname, "*") - 1) From tblName

Leslie
 
Thanks, I used: Left([DSO ID],InStr([DSO ID],"*")-1), worked fine. Appreciate the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top