amator
4th January 2017, 09:28
Hi Guys,
I want to know if is it possible to choose the report where I will send the data from my function.
Just to be clear this is how I print data:
----------------------------------------------------------------------------
choice.cont.process:
on.choice:
execute(print.data)
choice.print.data:
on.choice:
if rprt_open() then
read.main.table()
rprt_close()
else
choice.again()
endif
----------------------------------------------------------------------------
As you know the "read.main.table" is a function.
What I want to do is I have 2 different functions that will print data into 2 different reports.
Just to be clear again:
Function1 will send to Report1
Function2 will send to Report2
and then when I generate data from my session and I choose the Report2 the Function2 should be the one to generate.
Thanks in advance guys,
I want to know if is it possible to choose the report where I will send the data from my function.
Just to be clear this is how I print data:
----------------------------------------------------------------------------
choice.cont.process:
on.choice:
execute(print.data)
choice.print.data:
on.choice:
if rprt_open() then
read.main.table()
rprt_close()
else
choice.again()
endif
----------------------------------------------------------------------------
As you know the "read.main.table" is a function.
What I want to do is I have 2 different functions that will print data into 2 different reports.
Just to be clear again:
Function1 will send to Report1
Function2 will send to Report2
and then when I generate data from my session and I choose the Report2 the Function2 should be the one to generate.
Thanks in advance guys,