J
Jim Bunton
The code below executes without error
The query definitely returns records
BUT the file intended to receive the text remains stubornly empty!
[access 2000, WindowsXP - fully updated]
Private Sub ExportAsText_Click()
On Error GoTo Err_ExportAsText_Click
Dim FileName As String
FileName = Me.DestinationPath
DoCmd.TransferText acExportDelim, , "MyReceiveFile", FileName, True
Exit_ExportAsText_Click:
Exit Sub
Err_ExportAsText_Click:
MsgBox Err.Description
Resume Exit_ExportAsText_Click
End Sub
The query definitely returns records
BUT the file intended to receive the text remains stubornly empty!
[access 2000, WindowsXP - fully updated]
Private Sub ExportAsText_Click()
On Error GoTo Err_ExportAsText_Click
Dim FileName As String
FileName = Me.DestinationPath
DoCmd.TransferText acExportDelim, , "MyReceiveFile", FileName, True
Exit_ExportAsText_Click:
Exit Sub
Err_ExportAsText_Click:
MsgBox Err.Description
Resume Exit_ExportAsText_Click
End Sub