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!

Subreport to show fruit varieties that ripen at similar time

Status
Not open for further replies.

tbac

Technical User
Jun 16, 2003
59
US
I have a report that shows one fruit variety per page. I want to have a subreport on that page that shows all fruit varieties that ripen within 10 days before, to 10 days after the variety on the page. There is a RIPE field on the main Report page and on the SubReport items. Is there a way to define the Child-Master links?
 
Make the recordsource of your sub-form filter for those values:

FIELD: RIPE

Criteria: between (Forms!MainFormName!Ripe - 10) and (Forms!MainFormName!Ripe + 10)

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Does that work with a Report? Something like:
"Reports!MainReportName!Ripe - 10
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top