Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Parameter fields

$
0
0

Hi ,

 

I need a parameter fields to be setup in main report as per the below scenario

 

Scenario: The main report should run on a single record id (Parent id) that may have number of Child id's.

               The sub-report holds the data of the child records.

 

We need to pass the parameter for parent id in(parameter field ) based on this id i should get the list of child id's (available for that parent id) populated so that i can select the required id's that needs to be selected from that list.

 

Example:

 

Parent id: 1001

Child id's for 1001 are: 1,2,3,4,5

 

Parent Id:1002

Child id's for 1002 are: 6,7,8,9

 

I want a parameter field asking for Parent id : If i provide the value as 1002 then corresponding child id parameter must show all id's 6,7,8,9 so that i can select any of these records from those 4 values and only the selected child rec's are to be displayed in the sub-report.

 

Also provide the link for sub-report to the main report.

 

Note: Parent record is identified by Unique identifier CR.id .

         Child record is identified by Unique identifier sub.id

 

 

Thanks in Advance.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>