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

Data in Sub report is not as per dates set

Status
Not open for further replies.

pgil

Technical User
Nov 29, 2007
3
IE
Hi,
I am looking for some help, I have a report here which has 3 sub-reports, 2 of the 3 sub-reports are displaying correct data for the 12 month period selected, one sub-report is not showing the corresponding data for this period.
CR Version 12.
Many Thanks,
Philip
 
YOu need to give more info.

Where are SRs located and how is the linking in the 3 SRs different.

Ian
 
Ian,
Thanks for reply,
Data grouped by supplier, 2 reports in group header, one in footer, all subreports individually set with date parameters. 3 subreports linked to differnet sets of data.
Its probably something simple, but cannot figure it out.
Regards,
Philip.
 
Place the main report fields used for linking the failing subreport in the section along side the SR.

Not what is being returned and then preview the subreport it will ask you for the values.

If it does not work then your links are wrong or the SR is in the wrong place.

Ian

 
What do you mean by "three subreports linked to different sets of data"? You need to explain how the subreports are linked to the main report, not the tables within the subs. If they are all placed in a group section, you would likely be linking each sub to the main report on the group field.

-LB
 
I think you should check the record selection formula within each subreport. If you are linking on date parameters, make sure you are using the dropdown to select {?date} in the lower left of the linking screen instead of {?pm-?date}, and that the selection formula in each sub is set up correctly.

-LB
 
All, thanks for replies, have it working now, a combination of issues, wrong placement, and dates.Philip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top