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

How do I remove the last 6 charaters from the right side of the field? 2

Status
Not open for further replies.

srossbach

IS-IT--Management
Sep 12, 2000
50
US
I am looking for a function in Access 2003 that will remove the last 6 charaters from a record.

Thanks
 
Try
[blue][tt]
myString = Left ( myString, Len(myString) - 6 )
[/tt][/blue]
 
you mean from a field not a record?

UPDATE TABLENAME SET FIELDNAME = Left(FIELDNAME, LENGTH(FIELDNAME) - 6)


(**LENGTH may just be LEN**)




Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top