Automatic Export of a Access 2007 in a fixed width Delimited format.
I have a program that I need to export a table T_ExportToAccounting that I need to export in a delimited format on to a floppy disk. I have read through the posts and solutions but still don't understand how to do this. The user should be able to put in a floppy and hit down load and thats it. I need some step by step instructions to accomplish this. I have been fighting with the wizard all day and it will just not work.
The file the wizard puts out which is the second block of data below is perfect but when I try to call this specification I get the crap you see here in the first block of code. I have been over and over the wizard and just cant figure out why it is doing this.
Here is my code I am using
DoCmd.TransferText acExportDelim, "IslandTen", "T_ExportToAccounting", "C:\Island9.txt", False
ad5.004.00-1
auto12.002.00-1
bike2.002.00-1
chi2.502.00-1
mc7.002.00-1
mop4.002.00-1
mc7.002.00-1
mop4.002.00-1
it should look like this
ad 5.00 4.00 -1
auto 12.00 2.00 -1
bike 2.00 2.00 -1
chi 2.50 2.00 -1
mc 7.00 2.00 -1
mop 4.00 2.00 -1
mc 7.00 2.00 -1
mop 4.00 2.00 -1
its soooo infuriating I have been fighting it for hrs...

I have a program that I need to export a table T_ExportToAccounting that I need to export in a delimited format on to a floppy disk. I have read through the posts and solutions but still don't understand how to do this. The user should be able to put in a floppy and hit down load and thats it. I need some step by step instructions to accomplish this. I have been fighting with the wizard all day and it will just not work.
The file the wizard puts out which is the second block of data below is perfect but when I try to call this specification I get the crap you see here in the first block of code. I have been over and over the wizard and just cant figure out why it is doing this.
Here is my code I am using
DoCmd.TransferText acExportDelim, "IslandTen", "T_ExportToAccounting", "C:\Island9.txt", False
ad5.004.00-1
auto12.002.00-1
bike2.002.00-1
chi2.502.00-1
mc7.002.00-1
mop4.002.00-1
mc7.002.00-1
mop4.002.00-1
it should look like this
ad 5.00 4.00 -1
auto 12.00 2.00 -1
bike 2.00 2.00 -1
chi 2.50 2.00 -1
mc 7.00 2.00 -1
mop 4.00 2.00 -1
mc 7.00 2.00 -1
mop 4.00 2.00 -1
its soooo infuriating I have been fighting it for hrs...