Create your own specification and use that.
Begin the export process manually, and when the wizard window opens, click
the Advanced button in the lower left corner. Set the specifications the way
you want them (width of each field, delimiter to use, etc.) and save those
settings under a name. Close the export process without continuing further.
Use the name that you stored the spec under as the argument in your
TransferText action.
--
Ken Snell
<MS ACCESS MVP>
CH said:
For the argument of strSpecName, how to make that if I
would like to have Tab for the delimiter?
Thanks in advence.
-----Original Message-----
This might help:
DoCmd.TransferText acExportDelim, strSpecName,
strTableName,
Me![txtLocalDir] & Me![txtLocalFileName], True
--
Joe Fallon
Access MVP
message
I am trying to export a table to a csv file. I would
like to do this via
code. I read the Help, but I am somewhat confused about
the arguments that
are need to perform this action.
Thanks,
Anthony
.