Reputation: 835
I have a report like this:
I want to hide some example values of 2 and 4
Also, I do not want my report to display in this format:
I want to be displayed in this format:
How do I do it?
instance of my report in visual studio:
Upvotes: 0
Views: 1731
Reputation: 9101
write a supress condition for 2 and 4
.
Assuming you have placed in details section:
go to supress part of the Crystal Report
.
if (column=name2) or (column=name4)
then true
else false
let me know if this not your requirement.
Edit................................................................................
You have two options:
Create 100 detail sections and supress the detail section that is not necessary.
Create 100 formulas and by using If Else
condtions write 100 columns in each formula and create parameter
for selection of which columns need to be displayed and by using that parameter control the display of values.
if({parameter}="name") //first formula
then "name"
else if ({parameter}="family")
then "family"
..
..
..
This way create 100 formulas...control the display.
Upvotes: 2