Posted 1 September 2019, 4:55 pm EST
Hello,
I was wondering if there is a save way to detect if “myinfo” exists in the rpx script when you preview from the End User Report Designer?
When I run my app I load the report with
rpt.LoadLayout(xtr)
and then
rpt.AddNamedItem(“myInfo”, myObject)
and then I call “myInfo” when the report is running.
However in End User Report Designer preview I don’t want to call “myInfo”. Is there a way to tell if “myInfo” does not yet exist or maybe if I am in preview mode?
Thanks
Brian