Hi,
I'm only a beginner and is now using CR8.5 but creating report for CRv7. I have 2 groups in the report, A and B. There is a parameter to control which group to show when the report is run.
When A is shown, I want the the results to group by "Name" first whereas when B is shown, I want the results to group by date first.
Currently, the change group expert command groups the report according to the order from top to bottom and I have set the order to group by "Name" first. So A turns out fine in this case, but when B is shown, it will still be grouped by "Name" first which is not what I want:
Current output for A:
Peter 17-March-02
18-March-02
John 17-March-02
18-March-02
:
Required output for A:
17-March-02
18-March-02
:
Is there a variable that I can use like:
If (A) then group_expert_command = groups "Name" first
else if (B) then group_expert_command = groups "Date" first
Or does anyone have a better solution?
Thanks,
LS
I'm only a beginner and is now using CR8.5 but creating report for CRv7. I have 2 groups in the report, A and B. There is a parameter to control which group to show when the report is run.
When A is shown, I want the the results to group by "Name" first whereas when B is shown, I want the results to group by date first.
Currently, the change group expert command groups the report according to the order from top to bottom and I have set the order to group by "Name" first. So A turns out fine in this case, but when B is shown, it will still be grouped by "Name" first which is not what I want:
Current output for A:
Peter 17-March-02
18-March-02
John 17-March-02
18-March-02
:
Required output for A:
17-March-02
18-March-02
:
Is there a variable that I can use like:
If (A) then group_expert_command = groups "Name" first
else if (B) then group_expert_command = groups "Date" first
Or does anyone have a better solution?
Thanks,
LS