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

How to get last digit? 2

Status
Not open for further replies.

knuckelhead

Technical User
Aug 8, 2002
228
US
I have a 8 character field named formulaID which is text in tlbFormula.

In a query, i need to get the last digit into a separate calculated qry field. so that means the 8th character is the last digit. so what is the syntax in the calculated field which we can call "LastDigit".

thanks
 
In the query grid:
LastDigit: Right([formulaID], 1)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
LastDigit: Right(formulaID,1)

or

LastDigit: Mid(formulaID,8,1)
 
thanks for the instant answers. this is a great site.
it works!
i will send a donation with "stars".
glen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top