You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

  • Reports and Data Access

The following sections describe how to generate reports:

  • Creating Reports explains how to create reports and set their properties
  • Using the Report Editor describes how to add text and formatting to the report
  • The Report Namespace presents the complete set of runtime objects for Reports

Creating Reports
.i.creating:reports;
.i.reports:creating;
This section lets you configure and save the basic properties for a report. Standard content can be added with the report editor. Application users can then run reports.
To create or edit a report:

  1. Go to Edit > Reports > Reports.
  2. Select a report name, or select the insert row (first row) to create a new report.
  3. Enter or select information, as needed.

    Column

    Description

    Name

    Enter a name for the report. The system lets you know if the name is not valid.

    Padding

    Select padding to use when replacing a tag name with its value (field starts with space for the same number of characters as the tag name):

  • Compact—Removes any extra characters and displays only they tag value.
  • PadRight—Puts extra space for each character to the right of the tag value.
  • PadLeft—Puts extra space for each character to the left of the tag value.|

    SaveFormat

    Select the report format:

  • XPS
  • HTML
  • Unicode
  • ASCII
  • PDF|

    SaveFileName

    Enter a string, along with {ObjectProperties}. Use the full path.

    SaveTrigger

    Enter with an object property to be the trigger.

    Append

    Enter the file to append the report

    Size

    Report size configuration.

    EditSecurity

    Check the user groups that can edit the report

    Header

    Choose another report to be the Header.

    Footer

    Choose another report to be the Footer.

    Legacy

    Read-only. Show if the report is a legacy.

    Description

    Enter a description of this report.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="70845b08-f7ac-4a3a-952e-5371d65a5b7e"><ac:plain-text-body><![CDATA[

    [Other columns]

    For definitions of other columns that are available in many tables, see "Common Column Definitions" on page 54.

    ]]></ac:plain-text-body></ac:structured-macro>


    To change the report format between "portrait" and "landscape", you need to change it in both NovaPDF (printer used by FactoryStudio) and the target printer.
    Using the Report Editor
    .i.text editor:using;
    .i.reports:using the text editor;
    You create the text, formatting, and values for the report using the text editor.
    To use the text editor:

  • Go to Edit > Reports > TextEditor.
  • Create the text, tags, and formatting for the report.
  • Click Save.
  • Configure the report properties for the display dynamics or script that will run the report.

Report Runtime Objects
The namespace Report lists all configured reports.
The most commonly used method of the report is the Save Command:
Report.Report1.SaveCommand()
See http://www.tatsoft.com/help/fs-2014/runtime/index.html for the complete programming reference on runtime objects

  • No labels