
Select the type of datasource that will be used to generate the Snap Report.

The Datasource Criteria will be used to ascertain which records to retrieve from the database.

Values can be passed into Criteria by creating a parameter.
By enclosing a value in { } brackets, that flags the word as a parameter. The name of the parameter, in the picture, would be statename.
Parameters will have the value substituted during the script execution.

If parameters are found in the Criteria, they wil be listed in the Name drop down.
Name – the name of the parameter within the criteria.
Type – type of value to be expected (String, Bool, Date, Decimal, Number).
Variable – the variable that will hold the value. The drop down will contain existing variables or type in a new variable name.
Click the Add button to add the parameter name and value to be substituted.

The Snap Record Criteria will be used to ascertain what report to be retrieved.

Values can be passed into Criteria by creating a parameter.
By enclosing a value in { } brackets, that flags the word as a parameter. The name of the parameter, in the picture, would be statename.
Parameters will have the value substituted during the script execution.

If parameters are found in the Criteria, they wil be listed in the Name drop down.
Name – the name of the parameter within the criteria.
Type – type of value to be expected (String, Bool, Date, Decimal, Number).
Variable – the variable that will hold the value. The drop down will contain existing variables or type in a new variable name.
Click the Add button to add the parameter name and value to be substituted.

Add any parameters the report may have.
Name – the name of the parameter within the report.
Type – type of value to be expected (String, Bool, Date, Decimal, Number).
Variable – the variable that will hold the value. The drop down will contain existing variables or type in a new variable name.
Click the Add button to add the parameter name and value to be substituted.

Click Yes to save the generated report to a local directory.
File Path – the variable that will store the path the report will be saved too. Note: the variable will need to be set prior to this point in the script.

Click Yes to send the generated report to the default printer.
Created Script

Add Text Criteria Parameter – maps a Criteria Parameter to a value to be substituted with.
Find Snap Report – retrieves a Snap Report record that matches a specified Criteria.

Set SnapReport String Parameter – sets a report parameter to a value or variable that wil contain the value.
Add Text Criteria Parameter – maps a Criteria Parameter to a value to be substituted with.
Get Records – get all records that match a specified criteria.

Generate Mail Merge – sets the Snap Report to the records retrieved and generates the report.
Save Pdf File – saves the generate Snap Report to a Pdf file in a local directory.