S
Stephen
Actually I want a single report by the name "Sales and Purchases Summary
Statement" which comprises of a main report name "Purchases" and a subreport
name "Sales".
I have also created a query for main report (i.e. Purchases) with the
following two parameters;
PurchasesType and
Date Range (i.e. Between PurchasesStartDate and PurchasesEndDate)
Likewise I have also created a query for subreport (i.e. Sales) with the
following two parameters;
SalesType and
Date Range (i.e. Between SalesStartDate and SalesEndDate).
I have set the Purchases Query and Sales Query at the Record Source of the
Main Report and Subreport respectively.
Now when I separately open the Main Report and the Subreport, they work very
nicely but when I set the subreport under the main report. It prompts me 2-3
times for the parameters of the subreport (i.e. Sales).
How can I get rid of this. Please explain
Secondly, is it possible that when I run the "Sales and Purchases Summary
Statement", a dialog box is open which ask me the parameter values once for
all of both purchases query and sales query? And which contain two buttons
by the name OK and CANCEL. And when I click on OK button, "Sales and
Purchases Summary Statement" is open in a print preview form.
I would really appreciate a quick reply.
thanks
Statement" which comprises of a main report name "Purchases" and a subreport
name "Sales".
I have also created a query for main report (i.e. Purchases) with the
following two parameters;
PurchasesType and
Date Range (i.e. Between PurchasesStartDate and PurchasesEndDate)
Likewise I have also created a query for subreport (i.e. Sales) with the
following two parameters;
SalesType and
Date Range (i.e. Between SalesStartDate and SalesEndDate).
I have set the Purchases Query and Sales Query at the Record Source of the
Main Report and Subreport respectively.
Now when I separately open the Main Report and the Subreport, they work very
nicely but when I set the subreport under the main report. It prompts me 2-3
times for the parameters of the subreport (i.e. Sales).
How can I get rid of this. Please explain
Secondly, is it possible that when I run the "Sales and Purchases Summary
Statement", a dialog box is open which ask me the parameter values once for
all of both purchases query and sales query? And which contain two buttons
by the name OK and CANCEL. And when I click on OK button, "Sales and
Purchases Summary Statement" is open in a print preview form.
I would really appreciate a quick reply.
thanks