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

leading zero in text field

Status
Not open for further replies.

amillia

Programmer
Nov 14, 2001
124
US
I am inserting a table with a field that contains a leading zero if it is one character. IE: 01,02,03...10,11,12. I need the first 1-9 to be a single digit so it will match one of my the fields in the join. I can't change it to a number because of the join. How do I trim off the 0. thank you for your help.
 
Trim(Str(Val([theField])))

[small]No! No! You're not thinking ... you're only being logical.
- Neils Bohr[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top