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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drill down through parameter fields

Status
Not open for further replies.

demchak

IS-IT--Management
Jun 29, 2001
36
US
I am looking for a way to have users select report info based off of a drill down.
I was thinking of using parameter fields but could not figure out how to do it.

Ex.

User is prompted to
Select the type of report you want to run

Division
Department
Section

The next menu will only offer the appropiate choices so for example they picked division the next menu would offer

Commercial banking
Consumer loans

but if they picked section the next menu would offer

Res Lending I
Res Lending II
Res LEnding III
Com Lending I
Com Lendng II


Thanks for any ideas on how to do this.

 
You could do something like this with a table structure like the following:
Code:
ReportType    SubReportType
------------  -------------
ReportTypeID  SubReportTypeID
Description   ParentID
              Description

... where SubReportType.ParentID = ReportType.ReportTypeID.

Group by ReportTypeID, with the SubReportType info in your details section (which would be hidden, but allowing drill-down). In the details section for each SubReportType, you could use On Demand Subreports for each different kind of report.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top