Previous Topic

Next Topic

Book Contents

Book Index

Report List

Accredo > Script > Report List

You can add reports to a Report List and save the list, or you can load, edit and run previously created Report Lists.

Report Lists are mainly used to produce a number of reports on a regular basis, for example, end of month reports. When you run a Report List, you do not need to select each report individually and specify the selections.

Reports are defined by MaxBasic code. You can use the flexibility of automating reports into Report Lists. The title bar of the window includes the name and path of the Report List.

To add a Report to a Report List:

  1. In the Report List form, open the List to be added to, using the Load (Alt+L) button.
  2. Open the report to be added, from Navigator > Reports > [Module] > [Folder] > Add Layout.
  3. From the Report Selections Form, click Options > Add to Report List
  4. The Report will show in the Report List form.
  5. Click Save... (Ctrl+S) in the Report List form to save the list, or Run (F9) to run the list.

Toolbar

ToolbarExpand

Expand Toolbar (Alt+F9)

Expand the toolbar to give access to all toolbar options. Press ESC to close the expanded toolbar.

Edit (F11)

Open Report List Editor, to edit the options for the selected report using MaxBasic code.

Duplicate (Shift+F4)

Duplicates the selected report.

Move up

(Shift+Up)

Move down

(Shift+Down)

Move the line up or down.

Delete (F3)

Delete the selected report from the Report List.

ScriptAdd

Add Code

Inserts a block of code at the selected position. Allows you to add code to be performed when the Report List is run.

For example, you could add code to prompt for the period to be applied to reports in the list, then edit the code for each report in the Report List Editor to make use of that selection.

Convert to Destination Prompt Report List

Destination Prompt Report Lists have BeforeList and AfterList code blocks which prompt for selections to be applied to reports in the list.

Select this to convert an existing Report List into a Destination Prompt Report list.

Buttons

Load... (Alt+L)

Load a previously saved Report List.

Save... (Ctrl+S)

Save the Report List.

ActionAddLayout

Add To Navigator... (Alt+N)

Add the Report List to the Navigator, using the Script Shortcut Editor.

Run (Alt+R)

Run the Report List.

In This Section

Report List Editor