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!

Controlling Sub Report Data

Status
Not open for further replies.

buskgrim

IS-IT--Management
Jul 31, 2002
3
GB
Hi,

How can I set the recordsource of a sub report based on a field value in the main report.

The field in the main report is simply the rank order of the records.

The value of the field in the main report determines whether the query returns the top 10 records, the bottom 10 records or 5 records either side of the field value.

Many thanks

Kevin.
 
You can use multiple Child/Parent fields which would do what you want.

Regards
Warwick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top