Remove Last 3 Characters from Field Data (1 Viewer)

dj_mix

Registered User.
Local time
Yesterday, 20:47
Joined
Aug 30, 2006
Messages
39
I trying to figure out how to remove the last 3 Characters from my data

Such as

MA-D-97
MA-09
UJS-KK-OL-20

Like the data to look like

MA-D
MA
UJS-KK-OL

I Have This so far

Right([TYPEFY],3)

that selects the last three now is there a remove function I can use??

Remove(Right([TYPEFY],3) ???

Need help thanks
 

RuralGuy

AWF VIP
Local time
Yesterday, 18:47
Joined
Jul 2, 2005
Messages
13,826
Try Left([TYPEFY],Len([TYPEFY])-3)
 

chergh

blah
Local time
Today, 01:47
Joined
Jun 15, 2004
Messages
1,414
try this

x = len(string)

left(string, x-3)
 

dj_mix

Registered User.
Local time
Yesterday, 20:47
Joined
Aug 30, 2006
Messages
39
Very Nice I went with the majority

Left([TYPEFY],Len([TYPEFY])-3)

Thanks again
 

Users who are viewing this thread

Top Bottom