function starts another CSPro application. The function is very similar to execsystem
, but instead of passing the name of an application or task, you supply a string expression, pff_filename
, containing the name of a CSPro application's Program Information File (.pff)
. This function is useful when conducting surveys that use different machines on which the path of the CSPro executables may differ, or when designing menu programs.
An optional set of flags
, described in the execsystem
helps, allow you to control how the CSPro application is opened.
On mobile devices, multiple data entry applications cannot be run simultaneously, so the function simply stores the file name of the PFF. When the mobile application returns to the Entry Applications screen, whether via user interaction or via the stop
function, the passed PFF will be launched. Using stop
as a flag will cause the PFF to be launched immediately.
If the PFF file that launched the application that calls this function specified an OnExit parameter, the pff_filename specified by this function will override the OnExit parameter.
The function returns a logical value of 1 (true) if the new application is started successfully and 0 (false) otherwise.