I have a report based off 15 small queries. Some of those queries accepts a start and end date entered on a form to find transactions between a given time.
I would like to re-use those same queries for a new report without having to make all 15 of queries again. The problem is, those queries are looking at the original form's start and end dates instead of the new form for the new report.
I've tried using an OR in the query's date criteria but it just prompts for the dates on the original form.
Between [Forms]![frmReportBuildGainLoss]![txtStartDate] And [Forms]![frmReportBuildGainLoss]![txtEndDate] OR
Between [Forms]![frmReportBuildTransactions]![txtStartDate] And [Forms]![frmReportBuildTransactions]![txtEndDate]
Hope that made sense; is there any way around this?
I would like to re-use those same queries for a new report without having to make all 15 of queries again. The problem is, those queries are looking at the original form's start and end dates instead of the new form for the new report.
I've tried using an OR in the query's date criteria but it just prompts for the dates on the original form.
Between [Forms]![frmReportBuildGainLoss]![txtStartDate] And [Forms]![frmReportBuildGainLoss]![txtEndDate] OR
Between [Forms]![frmReportBuildTransactions]![txtStartDate] And [Forms]![frmReportBuildTransactions]![txtEndDate]
Hope that made sense; is there any way around this?