I am trying to run a report from the codeunit.
1. I have created a temporary table and inserted some records
2. Try to pass the Temporary record variable into the report.Run function. (Report.Run(ReportID,True,False,TempRec)). it seems i cannot pass a temporary rec variable in Report.Run function.
Can it be done another way ? Is there a solution for it?
Thanks in advance,
xavi.
0
Comments
You only need to define the report as a variable instead of the report.run.
Succes.