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

Remove the leading blank space

Status
Not open for further replies.

crystalfun

Programmer
Feb 8, 2001
39
0
0
US
I have a field called Asset ID which is made up of a 7 character ID such as "0123456" There seems to be a blank space before the beginning of each number.

How can I remove the blank space from the front of the record? In Excel I can use Edit,replace but that doesn't seem to work here.
 
Use the Trim() function to remove leading and trailing spaces or LTrim() to just remove the leading space.

Trim([fieldname])



Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top