To edit code in the SQR Production Reporting Studio Editor:
Select File, then New, and then Open the SQR Production Reporting Studio Editor, or File, then New, and then Open an Existing Report.
While in the SQR Production Reporting Studio Editor, you can edit any section of the code; however, you cannot access the Layout window to modify your report layout.
To move between the report layout and the source code and synchronize the edits, generate the Production Reporting program directly from the layout, and edit the code in the Source window. (See Editing Code in the Source Window.)
Write or edit your Production Reporting program in the Editor window.
Select File, then Save to save the program.
Note:
To display a default template when you open the Editor, select File/Edit, then Preferences, then Editor tab and select Default Code Template in Editor. The default template includes sections for BEGIN-SETUP/END-SETUP, DECLARE-LAYOUT/END-DECLARE, BEGIN-PROGRAM/END-PROGRAM, BEGIN-PROCEDURE/END-PROCEDURE,BEGIN-EXECUTE/END-EXECUTE, BEGIN-SELECT/END-SELECT, and BEGIN-HEADING/END-HEADING.