W
W L
Windows XP
Office XP
Total access newbie here, so I hope I phrase this question correctly.
I import data into a table as a text file and once imported, one of the
columns contains social security numbers. I know in design view i can tell
access to format the numbers the way i need but i need a bit of help. In
excel I used an if then statement in a macro. Here is the statement:
=IF(RC[-2]<100000000,""0""&LEFT(RC[-2],2)&""-""&LEFT(RC[-1],2)&""-""&RIGHT(R
C[-1],4),IF(RC[-2]>699999999,LEFT(RC[-2],2)&""-""&RIGHT(RC[-2],7),LEFT(RC[-2
],3)&""-""&LEFT(RC[-1],2)&""-""&RIGHT(RC[-1],4)))
Can anyone offer a suggestion for me?
Thanks,
Wendy
Office XP
Total access newbie here, so I hope I phrase this question correctly.
I import data into a table as a text file and once imported, one of the
columns contains social security numbers. I know in design view i can tell
access to format the numbers the way i need but i need a bit of help. In
excel I used an if then statement in a macro. Here is the statement:
=IF(RC[-2]<100000000,""0""&LEFT(RC[-2],2)&""-""&LEFT(RC[-1],2)&""-""&RIGHT(R
C[-1],4),IF(RC[-2]>699999999,LEFT(RC[-2],2)&""-""&RIGHT(RC[-2],7),LEFT(RC[-2
],3)&""-""&LEFT(RC[-1],2)&""-""&RIGHT(RC[-1],4)))
Can anyone offer a suggestion for me?
Thanks,
Wendy