Print Page | Close Window

Report with chapters and links

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12612
Printed Date: 20 Apr 2025 at 10:53pm


Topic: Report with chapters and links
Posted By: srgloureiro
Subject: Report with chapters and links
Date Posted: 15 Mar 2011 at 1:45am
Hello.
I need to do a report with "multiple chapters" and hyperlinks.
 
I will explain better:
 
Having the following Data Model, D->C->B->A where D is the most detailed table, and A the top level table, i need to do it as follws
 
1ST CHAPTER: Flat List of A's
 
Name                                 |Price
A1->name                          |0,00
...                                       |...
 
Each of these entries will implement an hyperlink to the second chapter.
 
 
2ND CHAPTER: List of A's with details of B's
 _________
| A1->name|
|_________|
 
    B1->name                          |0,00
    ...                                       |...
 
 _________
| A2->name|
|_________|
 
    ...
 _________
| ...            |
|_________|
 
   ...
 
The same applies to the entries of this chapter. It is intendend to also have underlying hyperlinks in each element of the second chapter for the matching heading in the third chapter.
 
 
3RD CHAPTER: List of B's with details of C's
 _________
| B1->name|
|_________|
 
    C1->name                          |0,00
    ...                                       |...
 
 _________
| B2->name|
|_________|
 
    ...
 _________
| ...            |
|_________|
 
   ...
 
The same applies to the entries of this chapter. It is intendend to also have underlying hyperlinks in each element of the third chapter for the matching heading in the fourth chapter.
 
 
4TH CHAPTER: List of C's with details of D's
 _________
| C1->name|
|_________|
 
    D1->name                          |0,00
    ...                                       |...
 
 _________
| C2->name|
|_________|
 
    ...
 _________
| ...            |
|_________|
 
   ...
 
 
So, I tried many approaches to this, but everything failed. When using subreporting, I could not get a way to define hyperlinks, so I could not do anything like this.
I see no other way than subreporting for having multiple details sections.
 
 
I have been asked to do this report and its structure makes sense to me, but does not seem to be easy to implement on Crystal Reports' very rigid structure.
 
 
Please help,
Thanks in advance
 



Replies:
Posted By: lockwelle
Date Posted: 15 Mar 2011 at 3:18am

It would seem that CR doesn't support this.  Hyperlinks to reports are considered On Demand subreports, but you are only allowed 1 level of subreporting in CR. Which as you found out, subreports cannot have hyperlinks.




Print Page | Close Window