VishalMistry
23rd April 2008, 06:58
Hi all,

I have a customized print session where I have two report groups and one report in each group. There is one input field in selection form where the user inputs one of the two values (1 for qty and 2 for amount), based on his selection, i want to activate particular report group so that the session automatically prints particular report. Can anybody help me how this can be done.

Thanks in advance,
Vishal

nikos1
23rd April 2008, 08:44
Hi,

you can use function tccom0010. Search for it on the board and you will find the parameters explained.

nikos

zardoz
23rd April 2008, 09:58
if condition then
reportgrp = 1
else
reportgrp = 2
endif

VishalMistry
23rd April 2008, 12:49
Hi Jardoz,

It worked perfectly. Thanks a lot.

Vishal