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

remove the last 8 characters of a fields value 1

Status
Not open for further replies.

josephwc

Programmer
Oct 13, 2005
83
US
In a Microsoft Access XP query how do I remove the last 8 characters of the Field record values.

Example: Field 1
Monday Forecast
Tuesday Forecast

Change to
Field 1
Monday
Tuesday
 
Code:
UPDATE myTable 

SET Field1 = Left(Field1, Len(Field1) - 8 )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top