Click here to Skip to main content
15,917,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been looking for days for an answer, and i'm hoping someone will help me on this topic here. I have not been working with crystal reports for very long, so I am going to give as much detail as possible.

I have a group in my report and this group has a formula field. this formula field is expected to look for a column in the detail section and when it gets the very first value, it should print in the group header.

for example, my details section returns records as below

column1      column2    column3
--------------------------------
row1           row1
row2           row2
row3           row3       row3
row4           row4       row4

my formula should look for column3 values, and when found should display in the group header. In this case, it should print row3

Your help is much appreciated.


What I have tried:

I have tried 3 formula solution with WhilePrintingrecords; one at the page header to reset the value, second one at the detail section to get the value and third one at group header to display it. But this gives blank value to me
Posted
Updated 1-May-17 21:34pm

1 solution

you can suppress the record with empty column 3 in Group header itself by using formula in section expert suppress section.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900