Update/add character to string

S

sdhi

I have a text field that contains 7 characters. I need to put a hyphen
between characters 5 and 6, before the last two rightmost characters.

Field is xxxxxxx and should be xxxxx-xx. I know how to use replace in an
update query, but replace doesn't seem to fit. Can someone give me some
direction?
 
L

LeAnne

UPDATE MyTable
SET MyTextField = Left([MyTextField],5) & "-" & Right([MyTextField],2);
 
Top