Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

The last visible group

Posted on 2011-09-12
6
301 Views
Last Modified: 2012-05-12
Hi,
I have a reports, in this report i have many groups, if the group is null or empty then supress, but i need put a field in the last visible group...i hope make me understand

like this

Group 1
    Group2
      Group 3 FIELD

Group 1
    Group2 FIELD

Group 1 FIELD

Group 1
    Group2
      Group 3
         Group 4 FIELD
 


Thanks

0
Comment
Question by:Crashman
  • 3
  • 3
6 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 36526241
With Crystal a group won't show if there are no records for it.

You could put the field in each group header and condtionally suppress with

Not IsNull(NextGroupField})

So the field in group1 would be
Not  IsNull({Group2Field})

The field in group2 would be
Not  IsNull({Group3Field})

etc

mlmcc
0
 
LVL 8

Author Comment

by:Crashman
ID: 36526656
Thanks but, this only work to supress the group, i can supress the groups,
what i want is know the last visible group, but well i think is done

I use this

in the Group assistant \ group opcions \ select the group and Opcion \ i put a name for the group
and will use a parameter with the last group

if groupname({RPTD_C;1.field1}) = {?LastGroup} then
{RPTD_C;1.total1}
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36526687
I said nothing about suppressing the group.  Use the formula to suppress the fields themselves.

mlmcc
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 8

Author Comment

by:Crashman
ID: 36526713
OK, that's correct but i only need to see ONLY IN THE LAST GROUP not in all visible groups
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36526809
I guess I don't understand what you want.

What do you mean by last group?

The formulas I provided will do what your examples showed.

mlmcc
0
 
LVL 8

Author Closing Comment

by:Crashman
ID: 36529909
You had completely Right, sorry my mystake, work great!!!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

791 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