OnExecute - cDRExportMenuItem¶
This event queries the report object ID by sending the ReportObject message. When found, it retrieves the object ID stored in the phoExportOptionsDialog property and then sends the message ExportReport, passing the object ID from the ReportObject function.
When the ReportObject function fails, an error is generated.