How to pass the parameter?

polina

Registered User.
Local time
Today, 19:59
Joined
Aug 21, 2002
Messages
100
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
 

Users who are viewing this thread

Back
Top Bottom