G
Guest
I am having some difficulties with a Report / Subreport situation.
I have a report that I am running based on entries in a user form. My
problem is I have a sub report within that report that I want to be able to
pass criteria to and I'm unsure how.
I basically have 3 criteria to pass: Start Date, End Date & User. All 3
criteria will be passed to the main report; however I want to only pass the
Start & End Date to the sub-report without prompting the user to re-enter
information.
The sub-report was created only to determine the “# of Accounts – by typeâ€
for ALL Users for the same time period as the Main Report.
Generally, the Main Report is run for an Individual user, but I need to use
the Total # of Accounts Field (For all Users) on the sub–report to perform a
calculation on my main report to find the percentage of work for that user.
Is there a way to pass criteria to a Sub-report when passing the criteria to
the main report through code?
Ideally, I’d love to be able to eliminate the sub report and just determine
the value I need thru code; however I’m not sure how to do that.
Any help or advice would be greatly appreciated.
Kathy
I have a report that I am running based on entries in a user form. My
problem is I have a sub report within that report that I want to be able to
pass criteria to and I'm unsure how.
I basically have 3 criteria to pass: Start Date, End Date & User. All 3
criteria will be passed to the main report; however I want to only pass the
Start & End Date to the sub-report without prompting the user to re-enter
information.
The sub-report was created only to determine the “# of Accounts – by typeâ€
for ALL Users for the same time period as the Main Report.
Generally, the Main Report is run for an Individual user, but I need to use
the Total # of Accounts Field (For all Users) on the sub–report to perform a
calculation on my main report to find the percentage of work for that user.
Is there a way to pass criteria to a Sub-report when passing the criteria to
the main report through code?
Ideally, I’d love to be able to eliminate the sub report and just determine
the value I need thru code; however I’m not sure how to do that.
Any help or advice would be greatly appreciated.
Kathy