S
Sash
I'll try to make the long story short.
I'm importing a fixed width file into a table, doing some stuff, and
exporting it again. My problem is that if I import field AcctNum in as a 18
character field, but it only has 10 characters I'm loosing the 8 spaces. Is
there a way when I'm exporting the data to say pad the field? I'm exporting
it through VBA to a file.
Maybe format(rs.fields("AcctNo"), "000000000000000000") ??? Will that work
if AcctNo is a text fields? Guess I was also looking for something a bit less
time consuming because I have about 50 fields.
Thanks,
Sash
I'm importing a fixed width file into a table, doing some stuff, and
exporting it again. My problem is that if I import field AcctNum in as a 18
character field, but it only has 10 characters I'm loosing the 8 spaces. Is
there a way when I'm exporting the data to say pad the field? I'm exporting
it through VBA to a file.
Maybe format(rs.fields("AcctNo"), "000000000000000000") ??? Will that work
if AcctNo is a text fields? Guess I was also looking for something a bit less
time consuming because I have about 50 fields.
Thanks,
Sash