Morning Pat (well it is here !!!)
There is no save option once the user has viewed the report. They either print/save to file or close.
I'm a little unsure how to implement the where argument in regard to opening the report.
My current get around is to have two buttons:
If no filters or sorts are selected then:
Button1 opens a report1 with pre defined sort criteria that mimics the underlying query of the form.
Button opens report2 (your solution).
If only I could get your solution to print in the same way as my button1 (when nothing is filtered).
I tried to default report2 with sorting but this overides your solution
I also embarked on creating an If statement that was based on a sub form counting the records. If the number of records is the same as the number in the form then report1 else report2 but this still doesnt address the problem if the user simply resorts all of the data.
There is no save option once the user has viewed the report. They either print/save to file or close.
I'm a little unsure how to implement the where argument in regard to opening the report.
My current get around is to have two buttons:
If no filters or sorts are selected then:
Button1 opens a report1 with pre defined sort criteria that mimics the underlying query of the form.
Button opens report2 (your solution).
If only I could get your solution to print in the same way as my button1 (when nothing is filtered).
I tried to default report2 with sorting but this overides your solution
I also embarked on creating an If statement that was based on a sub form counting the records. If the number of records is the same as the number in the form then report1 else report2 but this still doesnt address the problem if the user simply resorts all of the data.