Results 1 to 2 of 2

Thread: exporting CSV table

  1. #1

    exporting CSV table

    A customer needs to create and export a csv table. I haven't done this in many years. Since my client is essentially a Neanderthal, I can't expect him to do a series of steps. I want to programatically grab the data, export it to a saved location, and name it properly, with little or no operator intervention.

    The data itself is quite simple. I'd welcome any suggestions of how to do this.

  2. #2
    VBAX Guru
    Mar 2005
    You can use the standard export VBA code to export to a CSV file
    DoCmd.TransferText transferType:=acExportDelim, TableName:="Query1", FileName:="C:\test\Query1.txt", hasfieldnames:=True

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts