Kingsto88
10th January 2005, 06:12
Hi Experts,

Need to know how to make the program to read two report groups.
On one criteria, I want the program to show 2 reports for the user to select.
On another criteria, I want it to show 3 reports for selection.

Please help urgently as I am in the midst of completing the program to work with these 5 reports. I do not want all 5 reports to appear for selection at the same time.

Please give me a detail solution because I read on brp_open and brp_close but still do not understand how to do it.

regards,

tjbyfield
10th January 2005, 06:43
Very simple (baaniv)

In maintain sessions select "Report" button, Group will be evident.
You will have reports 1 and 2 under one group 1 and reports 1,2 and 3 under group 2.

Hope this helps

Terry

vahdani
10th January 2005, 12:51
Hi,

in "Maintain Sessions" put yur reports in different groups and the use the predefined variable "reportgrp" in your session script as follows to switch to the correct report group based on your condition:

choice.print.data:
before.choice:
if (some.condition) then
reportgrp = 1
else
reportgrp = 2
endif