Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: user-expandable sections? Post Reply Post New Topic
Author Message
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Topic: user-expandable sections?
    Posted: 15 Mar 2011 at 9:41am
I'm working on a report that has multiple detail sections containing different from a particular record.

One section is used for "general" information while another section is used for "specific details".

The client does not want to show the specific details by default and would prefer to glance over the general info as that is usually enough and is requesting me to allow her to provide a way to "show" or "hide" the specific details section when the report has been generated, like maybe a toggle button.

Is this possible in CR?

Edited by Keikoku - 15 Mar 2011 at 9:56am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 15 Mar 2011 at 10:18am
after the report is run I believe your only options woud be drill down function on grouping or an on-demand sub report for the specfic details

Edited by DBlank - 15 Mar 2011 at 10:18am
IP IP Logged
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Posted: 16 Mar 2011 at 3:08am
I will try both options, but it appears the report should be structured like

+general info for user 1
...detailed info for user 1 (minimized)
+general info for user 2
...detailed info for user 2 (minimized)

It would be grouped by user, and general info is basically summaries of the details (placing the summaries at the top would probably be another issue).

For now when I drill down on a group the report will only display the records inside the group. Are there ways to configure how CR drills down?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Mar 2011 at 4:07am

drill down can be configured a little

in report options there is a 'show all headers on drill down' option.
instead of using the section expert 'hide (drill down ok)' you can use conditional suppression formula like
drilldowngrouplevel = x
drilldowngrouplevel > x
drilldowngrouplevel < x
etc.
when you open a report the drilldowngrouplevel is zero.
the first time you click on something it is =1
it is not strictly equivalent to the group level.
assume you have 3 tiered group
G1
G2
G3
all set to show when the report is open
if you drill into group level3 that sets your groupdrilldown=1 even though you have 2 groups above it.
None of this keeps the report on the same page and just expands /contracts a section though. It always opens a new drill-down window/tab in the viewer.
 
 


Edited by DBlank - 16 Mar 2011 at 4:09am
IP IP Logged
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Posted: 16 Mar 2011 at 4:28am
So basically if there were 4 groups on the page and I wanted to expand group 1 and group 3, but keep the other two minimized, I would not be able to have them displayed on the same page.

Seems like crystal is rather limited when it comes to user interaction with the result set.

Edited by Keikoku - 16 Mar 2011 at 4:29am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Mar 2011 at 4:36am

there may be soutions that you are looking for in .net which i have not used but the structure of drill down is to show grouped items together. When users want more detail they drill into it then close it to see the bigger picture. not a lot different than what your customer wants. Often if you listen to what the 'boss' is trying to accomplish (not design) you can suggest other viable solutions that the product does support to get to the same end result.



Edited by DBlank - 16 Mar 2011 at 4:36am
IP IP Logged
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Posted: 16 Mar 2011 at 5:04am
The issue is that they want to print out what they see on the page, so they can choose to expand certain groups and print it out.

I'll most likely have to use other technologies as well even though we prefer to keep it to just crystal. It seems that the crystal viewer can output the data in different formats though...

Edited by Keikoku - 16 Mar 2011 at 5:05am
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.020 seconds.