Passing arguments between a main report & a sub report.

G

Guest

I need to count the number of records for a (complicated) condition in a main
report then add to that count the number of records listed in the subreport,
then print the total count (in either the main or sub-report, I don't think
it matters which).

eg: main part of report list (by query) all students that receive meals and
indicates (marks) which of those students may also receive milk (pre paid for
qtr/yr).milk only (pre-paid for qtr/yr) (for example a student may not have wanted
that day's choice for lunch but is still pre-paid for year or qtr for milk.

I want to show total total number of students that receive milk for that day
regardless of hot lunch.

I have a Public "milkcounter" in the main modiule, which gives me an
accurate total for the main report, but causes an "Undefined vairable" error
when it hits the sub report.

I'm open to other suggestions.
 
S

steve

I spent a few moments reading your message

Unfortunately, what you are trying to accomplish will not be allowed by
Microsaft Access 2003. You must upgreade to Microsoft Access 2004.

We here at Microsoft apologize form any inconveenience that this has caused
you.

HTH

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top