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

Ltrip update error

Status
Not open for further replies.

lizarde03

MIS
Feb 9, 2004
22
US
I'm trying to Ltrim leading spaces in a text field. I have checked the table design and there are no validation rules, no keys, or anything else that could cause a problem and data type is set to text. However, when I try to do the update, I get the big long error saying that 0 records were updated due to key violations and validation errors.. Any suggestions?
 
Insert this in SQL portion:

UPDATE YourTable SET YourTable.YourField = LTrim([YourField]);

Hope this helps you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top