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

Remove last character in string 1

Status
Not open for further replies.
Oct 24, 2002
512
US
This formatting stuff is going to be the death of me yet.

I'm trying to remove the last character of a text field called EmployeePercent. I've tried Left([EmployeePercent],-1) which clears the field entirely. Right([EmployeePercent],-1) which gives me a type conversion error. I've tried combining the Left and Right functions with the Len function.

Hopefully, I'll get the hang of this someday but I could sure use some help now.

Thanks. Ann
 
Left([EmployeePercent],Len([EmployeePercent])-1)

Good luck
[pipe]
Daniel Vlas
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top