Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way to allow user choice of multiple levels of summarization

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
Project involves product promotions. Territory guy reports to the district guy who reports to the regional guy. There are multiple regional guys.Each individual is in the employee file with a manager id which would point to the immediate manager.

How is the best way to write a query so that promotional information could be rolled up from the bottom (eg territory is detail, district is low order group and region is high order group). Do I do a double correlated query to get name and address information for all three layers?

Any ideas would be welcomed! Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top