D
deeds
I found the code below on here for removing hyphens and adding zeros to a txt
field. However, where do I put this code? How do I get this to do it's
work? Anyways....if anyone has other solutions..please let me know. All I
want to do is take a current txt field that contains data in the format of 1
and change it to 0000001 also, there are some data that have 1234567-1234 and
I want to remove the hyphen from these. (I would also like to remove the
last 4 digits, if someone can help there too.) Thanks in advance!
UPDATE CASTable SET CASTable.CAS =
Format(Replace([CAS],"-",""),"000000000");
field. However, where do I put this code? How do I get this to do it's
work? Anyways....if anyone has other solutions..please let me know. All I
want to do is take a current txt field that contains data in the format of 1
and change it to 0000001 also, there are some data that have 1234567-1234 and
I want to remove the hyphen from these. (I would also like to remove the
last 4 digits, if someone can help there too.) Thanks in advance!
UPDATE CASTable SET CASTable.CAS =
Format(Replace([CAS],"-",""),"000000000");