DFRPTVW.PKG ReportView ReportPanel Data Access Corporation 9/22/97 JJT - moved print_to_xxx modes to PtrModes.pkg 12/05/96 JJT - Converted from 3.1 character mode 06/08/95 LS & JJT - Converted from what is now Query_View ReportView - Used to create modeless report views Normally accessed with the Command Activate_View or Deferred_View just like a normal view ReportPanel - Used to create modal popup report panels Normally accessed with a Popup or Modal_Popup message. Both classes use the mixin ReportView_Mixin and share the following The public message protocol: Property Integer Report_Object_ID Object ID of the Standard_Report object to communicate with. If during end_construct_object it is 0, it will attempt to find a child report object for you. Property Report_Object_Id This contains the Id of the report to run. Normally this is set automatically when the object created. During end_construct_object it broadcasts a message to all possible reports asking for an ID. If the report is "view enabled" it will assign an ID. This works if there is only one report per view. If you have multiple reports you can set this yourself or end run_report directly to the required child report. Property Output_Device_Mode Print_to_Window|Print_to_Printer| Print_to_File|Print_To_Printer_No_Dialog Property Output_Device_Name stringval Since it is so common to direct a report to either a logic device type (printer, screen, file) or a device name these properties are provided to make it easy for a report view to set these and a report to access them. It is up to the report to choose to use these and it is up to the programmer to set them. Send Run_Report This runs the report in Report_object_id. While this could be used to run a batch report (no UI is involved) it is expected that batch report running will not be that simple. To run a batch report you will most certainly need to create some new messages. You will either need to create properties that you would set and the send run_report, or, you would create a new message (e.g., run_vendor_report) which would expect you to pass the required parameters to set-up and run the report.
Module | Containing Symbol | Line |
---|