LocalRun (Method)

Return Value

(none)

Arguments

Parameter

Data Type

Meaning

cmdLine

String

Production Reporting command line

Description

Runs an Production Reporting program locally. It uses DatabaseName (Property) to locate and load SQR.DLL, executes the command line, and returns control until Production Reporting is done. The command line must at least contain an Production Reporting program filename and a valued database connection string.

You can include other Production Reporting command line options. A common option is ‑keep, to generate SPF files. Other common options are -eErrorFile and ‑oLogFile. When you run an SQT (pre-compiled Production Reporting program), use the ‑rt flag. (See “Production Reporting Command-line Flags” in Volume 2 of the Production Reporting Developer’s Guide for details on the available command-line flags.)