Shared variable

This variable is intended for standalone reports that can be run either from Report Manager, a menu shortcut or, for Reference data, from the Report menu action on a form. The variable is used only in the latter two scenarios.

In order to be able to run such a report from a form menu, a Document Format record must be set up for the function and selected at runtime. When the Path to Executable field in the selected Document Format is set to /$Shared/, SunSystems runs the report specified in the Executable Name field from the folder specified for this variable.

Any standalone report may also be run from a shortcut in your menu or favorites. When the Report Address property in the shortcut is set to $Shared, SunSystems runs the report specified in the Report Name property from the folder specified for this variable.