Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the record delimiter on export

Status
Not open for further replies.

rwolff

MIS
Oct 24, 2003
6
US
I was wondering if there is a way to change the record delimiter on export to other than HRt i.e. []Hrt.
 
Yes. First, create the export specifications that you need.

Then create your code that selects whichever spec you want.

You can set the delimiter within the Export Specification.

Example:

Function ExportTest()
On Error GoTo ExportTest_Err

DoCmd.TransferText acExportDelim, "Table1 Export Specification", "Table1", "C:\Documents and Settings\YourFolder\Desktop\Table1.txt", False, ""

ExportTest_Exit:
Exit Function

ExportTest_Err:
MsgBox Error$
Resume ExportTest_Exit

End Function


 
Thanks for the reply.

I was not able to find the Record Delimiter, as opposed to a field delimiter, in the Export Specification. Where can I find the Record Delimiter specification?

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top