Hello,
I hope someone can help me out on this problem.
I need to use the TransferText command to transfer data from the access db to a text file. I got that to work but now the user wants to limit the records that get put into the text file. I have created a query with a parameter but I can't figure out how to pass that parameter to the query in the DoCmd.TransferText command.
Here is what I got so far:
DoCmd.TransferText acExportDelim, "", "qryExportHeader", "c:\invoiceheader.txt", True
Any ideas?
I hope someone can help me out on this problem.
I need to use the TransferText command to transfer data from the access db to a text file. I got that to work but now the user wants to limit the records that get put into the text file. I have created a query with a parameter but I can't figure out how to pass that parameter to the query in the DoCmd.TransferText command.
Here is what I got so far:
DoCmd.TransferText acExportDelim, "", "qryExportHeader", "c:\invoiceheader.txt", True
Any ideas?