romz.baan
7th July 2011, 06:12
Im trying to get the selected report so i could run my function but im getting an "ERROR: Argument 1 for function 'choice.report' should be call by reference".
I want to know what reference should i look for and if my coding is correct..
any help will be appreciated.. thank u..
Here's my code:
choice.print.data:
on.choice:
if rprt_open() then
read.main.table()
rprt_close()
|this is where im trying to call my choice report
if choice.report("tfcmg1220mr012") then
exec.copy() |This is my function
endif
else
choice.again()
endif
I want to know what reference should i look for and if my coding is correct..
any help will be appreciated.. thank u..
Here's my code:
choice.print.data:
on.choice:
if rprt_open() then
read.main.table()
rprt_close()
|this is where im trying to call my choice report
if choice.report("tfcmg1220mr012") then
exec.copy() |This is my function
endif
else
choice.again()
endif