Hi all,
I have a from with Button to print a report. On the form I have an option field to sort by a.) alpha b.) by number or c.) by date. The report and data are exactly the same but I'm having a problem setting the report's sorting and grouping properties in VBA.
I have solved this by creating 3 identical reports and setting the properties manually but I'm sure one must be able to print the same report and set the sort (order by?) properties in VBA. Can someone tell me how?
Thanks a lot
Marion
I have a from with Button to print a report. On the form I have an option field to sort by a.) alpha b.) by number or c.) by date. The report and data are exactly the same but I'm having a problem setting the report's sorting and grouping properties in VBA.
I have solved this by creating 3 identical reports and setting the properties manually but I'm sure one must be able to print the same report and set the sort (order by?) properties in VBA. Can someone tell me how?
Thanks a lot
Marion