For use with Access 2007, I need a form to open a report that groups on ‘Brokers’ and displays ‘Deposits’ for each group based on a ‘StartDate’ and ‘EndDate’ the user enters on the form and picks the ‘Preview Report’ button that executes some VBA code on-click.
Currently, the code provided by Allen Browne works ok, when the date fields are empty. That report shows all of the brokers grouped by ‘brokers’ and all deposits for all records, including sub-totals for each of the brokers. That is ok for a summary report. However, when one or both date fields contain a date(s), the report only shows the headers.
I have records for multiple years that the query gathers from a table called ‘tblInvoices”, but I only want the report to group the ‘Brokers’ and show the ‘Deposits’ for each broker between the dates entered and (later), eventually, for a ‘broker’ that I select from a combo box on the same form.
I did try solving this on my own, which is how you learn how to use the program, but am running up against a dead-line and am seeking assistance from you wizards lurking in the background. Thanks in advance for your most appreciated assistance. Punice
Currently, the code provided by Allen Browne works ok, when the date fields are empty. That report shows all of the brokers grouped by ‘brokers’ and all deposits for all records, including sub-totals for each of the brokers. That is ok for a summary report. However, when one or both date fields contain a date(s), the report only shows the headers.
I have records for multiple years that the query gathers from a table called ‘tblInvoices”, but I only want the report to group the ‘Brokers’ and show the ‘Deposits’ for each broker between the dates entered and (later), eventually, for a ‘broker’ that I select from a combo box on the same form.
I did try solving this on my own, which is how you learn how to use the program, but am running up against a dead-line and am seeking assistance from you wizards lurking in the background. Thanks in advance for your most appreciated assistance. Punice