humbleprogrammer
Programmer
Hello,
I have a report that is scheduled to run an outputs to a snapshot format. This report needs to run multiple times with different criteria. I would like to add a filter to it if possible so I don't have to create a different report for each criteria. Again, this is a scheduled report so I can't use a form to apply criteria. My current code works like below:
I would like to specify a filter for the different offices so I can run the same report for 5 different office.
Any help is greatly appreciated.
Thanks!
I have a report that is scheduled to run an outputs to a snapshot format. This report needs to run multiple times with different criteria. I would like to add a filter to it if possible so I don't have to create a different report for each criteria. Again, this is a scheduled report so I can't use a form to apply criteria. My current code works like below:
Code:
DoCmd.OutputTo acReport,"rptOfficeCounts", "SnapshotFormat(*.snp)", "\\servername\reports\SouthOffice\ordercounts.snp", False, ""
I would like to specify a filter for the different offices so I can run the same report for 5 different office.
Any help is greatly appreciated.
Thanks!