I want to be able to send the report to the text file.
But I also want to be able to pass the parameter for that report.
So now I just have this line of code,
DoCmd.OutputTo acOutputReport, "rptSomeReport", acFormatTXT, "c:\Files\SomeReport.txt"
How would I control the criteria for that report. Say I only want the records where the recordID < 100 to be sent to the file.
Please help
But I also want to be able to pass the parameter for that report.
So now I just have this line of code,
DoCmd.OutputTo acOutputReport, "rptSomeReport", acFormatTXT, "c:\Files\SomeReport.txt"
How would I control the criteria for that report. Say I only want the records where the recordID < 100 to be sent to the file.
Please help