Apr 19, 2004 #1 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
I am looking for a function in Access 2003 that will remove the last 6 charaters from a record. Thanks
Apr 19, 2004 1 #2 Golom Programmer Sep 1, 2003 5,595 CA Try [blue][tt] myString = Left ( myString, Len(myString) - 6 ) [/tt][/blue] Upvote 0 Downvote
Apr 19, 2004 1 #3 lespaul Programmer Feb 4, 2002 7,083 US you mean from a field not a record? UPDATE TABLENAME SET FIELDNAME = Left(FIELDNAME, LENGTH(FIELDNAME) - 6) (**LENGTH may just be LEN**) Leslie Upvote 0 Downvote
you mean from a field not a record? UPDATE TABLENAME SET FIELDNAME = Left(FIELDNAME, LENGTH(FIELDNAME) - 6) (**LENGTH may just be LEN**) Leslie
Apr 19, 2004 Thread starter #4 srossbach IS-IT--Management Sep 12, 2000 50 US Thank you! Worked like a charm! Upvote 0 Downvote