Solved

Index report to Summary Report

Posted on 2016-09-13
8
15 Views
Last Modified: 2016-10-02
Hi Guys,

I am working on Crystal Reports 11 and trying to achieve a functionality where I have a Index report which has a unique numbering field called NCR Number and trying to link this unique field which is there in a detail report too. I want when I click on the index report NCR Number it should open the detail report showing the details of the NCR. Please suggest how to achieve this functionality.
0
Comment
Question by:Arpit Aggarwal
  • 4
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 41796030
You can use an ON DEMAND subreport.

mlmcc
0
 

Author Comment

by:Arpit Aggarwal
ID: 41796083
But how do I link the NCR numberss in both the reports? Can I have a functionality where i click on the Ncr number and the detail report opens up. The solution you suggested will show the on demand sub report as a seperate link.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41796265
You can link the subreport on any field in the main report to limit (filter) to the required data.

You can format the subreport as ON DEAMN (last tab).  You can then add a field to be displayed in the subreport spot.

Look at this sample

mlmcc
Inventory-with-On-Demand-Subreport.rpt
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:Arpit Aggarwal
ID: 41796390
I got you, but when I try to link the reports by the field the data in detail report disappears. And how to add a field to display in the subreport spot?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points (awarded by participants)
ID: 41796556
You add the field for the display through the FORMAT SUBREPORT popup

Right click the SUBREPORT
Click FORMAT SUBREPORT
Click the SUBREPORT tab
Click the ON-DEMAND SUBREPORT checkbox
Click the FORMULA BUTTON to the right of ON-DEMAND SUBREPORT CAPTION
Add the field you want to display to the formula.
    The result of the formula must be a string so you may need to use ToText or CStr
     to convert the field to a string
Click SAVE AND CLOSE in the FORMULA EDITOR
Click OK in the FORMAT EDITOR

Is the link used to select the data for the subreport?
You can edit the subreport selection formula to be the filter you need.
    If you simply linked it added the parameter and test of EQUALS which may be the wrong filter.

mlmcc
1
 

Author Comment

by:Arpit Aggarwal
ID: 41796665
This worked, I have a hyperlink on each NCR number, but it opens the whole sub-report not the NCR sub report. Can you help on this?

I think I need to link both the reports on a field but when I do that the data disappears from the detail report or the sub report
0
 

Author Comment

by:Arpit Aggarwal
ID: 41796741
I was selecting the wrong value in the link. I figured it out. Thanks for the support.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now