Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count in footer band incorrect
Message
From
25/11/2002 14:35:24
Terrence Spencer
Municipal Advisory Council of Texas
Austin, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Count in footer band incorrect
Miscellaneous
Thread ID:
00726607
Message ID:
00726607
Views:
32
I have a report that is fed by this sql.

SELE C.NAME,;
B.ADDRESS, B.CITY,;
P.FNAME,P.LNAME;
FROM COMPANY C JOIN BRANCH B;
ON C.ID = B.PARENTID
JOIN PEOPLE P;
ON B.ID = P.PARENTID

So I have multiple companies, that have multiple branches, that have multiple people.

I have 2 data grouping bands, one on CompanyID, and one on BranchID

In the footer of the CompanyID band I am trying to count the number of branches in the company. I am putting a field "branchID" and calculting "Count", resed on CompanyID.

This count is giving me a count of the detail band, ie # of people in the company, instead of branches in the company.

In the report summary band I am putting a count of CompanyID, reset end of report, but it too is giving me a count of the detail band for the entire report.

Any Ideas on what switch I am missing?

Thanks,
Terrence
Next
Reply
Map
View

Click here to load this message in the networking platform