Accredo > Script > Report List >
Edit (F11) button
Edit options for reports in a report list using MaxBasic code.
The Report List Editor displays relevant options set in the Report Selections form, when the Report was added to the list. These can be changed in the Report List Editor window.
You can insert Automated code snippets in the Report List Editor, see Automated Snippets.
Drop down menus |
|||
|
Operators |
Lists MaxBasic operators. |
|
|
Objects |
Lists the objects and components available in the code. When you select a property it will appear in the code. |
|
|
Functions |
Lists available MaxBasic functions. When you select a function that expects arguments, parentheses and commas for the arguments are shown with the pointer at the first argument, for example, Help for a function, detailing the arguments, is available from:
|
|
|
Automated |
Lists Automated objects. Documentation for each object is available from the final option in the menu. You can insert an object by clicking on it. |
|
|
Procedures |
Lists Function and Sub procedures defined in or imported into the script. Press |
|
|
Help |
Access resources including descriptions, documentation and sample code. |
|
|
Snippet |
Insert a code Snippet. Snippets are listed alphabetically, and the first line of each snippet is displayed. |
|
Editor buttons |
|||
|
Check Code |
Checks the code compiles correctly, without running the script. |
|
|
Run |
Runs the script. To terminate a running script, press |
|
|
Print |
Print the code. |
|
|
Save... |
Save code back to the Report List. |
|
An example of an AR Aged Trial Balance report is:
Report = CreateObject("Accredo.ARAgedBalancesReport")
Report.Layout = "Aged Trial Balance"
Report.Destination = "Excel worksheet"
Report.Period = PeriodName(CurrentPeriod("AR"))
Report.Displayinactive = False
Report.Run