Posted 25 September 2020, 4:12 pm EST
I am using AR 11
I have an unbound report which is populated with a custom object class I wrote. I set the values for the detail section in the “Detail_Format” event.
If I use rpt.Run() then view it in the viewer the detail section is not displayed.
If I do not use rpt.Run() then it works fine.
However, if I want to send to printer using rpt.Report.Document.Print it blows up unless I use rpt.Run() first. Its prints fine this way.
The problem is after the printing, if I load it into the viewer after printing, the detail section is gone, even through it prints to the printer fine.
What’s going on?