SetExportPath

Specifies the path to the Export file's location. Alternatively, you can use a Smart Parameter to identify a Paths.ini file that has a set of path parameters for your application.

Syntax

bool SetExportPath (strParam)

Parameters

The complete path to the application's Export folder. Smart parameters are supported.

Returns

True, if the path specified by the parameter exists. Otherwise, False.

Level

All

Details

The action's parameter specifies the path to the Export file's location, or uses a Smart Parameter to retrieve a path's value from the application's Paths.ini file.
Example
SetExportPath("c:\ParentDirectory\Invoice\Export")

SetExportPath("@APPPATH(export)")	

In the second example, a smart parameter is used to obtain the location of the Export Directory from the value that is configured in the Application Manager.