Is there any way to specify the delimeter and qualifying quotes on an export from an SQL command?
Thanks.
Swi
Code:
If fso.FileExists(FilePath & "XXXX_" & Format(Date, "MM-DD-YYYY") & ".txt") Then fso.DeleteFile FilePath & "XXXX_" & Format(Date, "MM-DD-YYYY") & ".txt", True
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='" & App.Path & "\" & MDBFileName & "'"
conn.Execute "SELECT * INTO [Text;Database=" _
& FilePath _
& "].[XXXX_" & Format(Date, "MM-DD-YYYY") & ".txt] " _
& "FROM [Final]", , _
adCmdText Or adExecuteNoRecords
Thanks.
Swi