Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Sub Report Link to Main Report Post Reply Post New Topic
Author Message
kristal
Newbie
Newbie
Avatar

Joined: 23 Jul 2008
Location: United Arab Emirates
Online Status: Offline
Posts: 6
Quote kristal Replybullet Topic: Sub Report Link to Main Report
    Posted: 26 Jul 2008 at 10:41pm
Hi,
 
 1. I have developed a main report which contains item inventory details ( qty on hand, replinishment parameters).
The Sub-report contains open purchase orders for items and pending delivery quantities('pendqty'). I wish to display PendQty against each of the items in the main. I have made attempts to link the subreport to the main, using 'Item' as the link field. Due to some reason the linking doesnt seem to be working right. Some of the help material i have read, indicate that the system generated parameter fields are to be used for linking , while others suggest that user defined parameter fields need to be created for the linkage.
Whats the correct method?
 
2. An alternate solution was to used the SharedVariable concept. I have defined Shared numbervar in both reports thru the formula definition. the subreport has been placed in a header before the variable declaration in the main. The formula field PendQty ( also the shared variable) placed in the main shows "0".
What seems to be the  issue in the way the concept has been used? 
 
3. Which of the above is a better option for linking the 2 reports?
 
Thx
-Kris


Edited by kristal - 29 Jul 2008 at 9:25pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.