I have an instance where I built a form/subform that lists several fields (pulled together by a query). Access 97 filtering allows for great sifting and sorting of the viewable data. (Up to this point my query based form with subform works adequately.)
Mow I want to be able to print reports based on the filtered and sorted data. I've read the subform's filter into a OpenReport command which works well, but I don't know how to use the OrderBy information to order the report data. I also need to be able to set the groupings at run-time, and I don't have a good feel for how I should do this.
I also have to add start date and stop date to the criteria -which can't be done by right-clicking and selecting "filter by selection".
I'm just not sure how to approach the problem. I answer bits and pieces but can't seem to put together a plan that goes from start to finish efficiently. I would really appreciate some advice on a plan of attack.
Thanks in advance for any advice or links to helpful sites.
Mow I want to be able to print reports based on the filtered and sorted data. I've read the subform's filter into a OpenReport command which works well, but I don't know how to use the OrderBy information to order the report data. I also need to be able to set the groupings at run-time, and I don't have a good feel for how I should do this.
I also have to add start date and stop date to the criteria -which can't be done by right-clicking and selecting "filter by selection".
I'm just not sure how to approach the problem. I answer bits and pieces but can't seem to put together a plan that goes from start to finish efficiently. I would really appreciate some advice on a plan of attack.
Thanks in advance for any advice or links to helpful sites.