P
Peter Afonin
Hello:
When I export a table in comma delimited format from an Access project, it
works OK, but there is one problem. If the field is varchar (or char) and
has the size, for instance, 50, there are empty spaces in the text file, so
it looks like this:
"CBAS ","Bass Gambling Supplies ",2
"CBW ","Ben's Wholesale ",3
"CTDI ","3 Diamond ",4
"NONE ","NON-CUSTOM ",1
I need to elimitate these free spaces somehow, so the text file would look
like this:
"CBAS","Bass Gambling Supplies",2
"CBW","Ben's Wholesale",3
"CTDI","3 Diamond",4
"NONE","NON-CUSTOM",1
I use a TransferText method:
DoCmd.TransferText acExportDelim, , "dbo.tblStatus", _
"\\Win2000\Everyone\NewGamePayout\Test.txt"
How would I do it?
I would appreciate your help.
Thank you,
When I export a table in comma delimited format from an Access project, it
works OK, but there is one problem. If the field is varchar (or char) and
has the size, for instance, 50, there are empty spaces in the text file, so
it looks like this:
"CBAS ","Bass Gambling Supplies ",2
"CBW ","Ben's Wholesale ",3
"CTDI ","3 Diamond ",4
"NONE ","NON-CUSTOM ",1
I need to elimitate these free spaces somehow, so the text file would look
like this:
"CBAS","Bass Gambling Supplies",2
"CBW","Ben's Wholesale",3
"CTDI","3 Diamond",4
"NONE","NON-CUSTOM",1
I use a TransferText method:
DoCmd.TransferText acExportDelim, , "dbo.tblStatus", _
"\\Win2000\Everyone\NewGamePayout\Test.txt"
How would I do it?
I would appreciate your help.
Thank you,