Application object
This method is used with ImportToDatabase and ExportFromDatabase. We recommend that these three methods be implemented by advanced users only.
StatusOnExportFile checks the status of a file created by ExportFromDatabase. The available information is returned in the parameters.
The method returns 0 if it succeeded in getting the statuses. Otherwise, for example if the specified file does not exist, the method returns an error code. See Event return value constants.
|
Parameter |
Description |
|
FileName |
The name of the file to check. |
|
Name |
Returns the name of the form definition or set definition in the file. |
|
ID |
Returns the ID string from the file. |
|
ID2 |
Returns the ID2 string from the file. |
|
JobName |
The name of a job description saved in the file. |
|
ImportedType |
Returns 1 if forms are saved in the file and 2 if sets. |
|
NoOfItems |
Returns number of forms or sets in the file. |
|
ExportDate |
Returns the date and time the file was created. |
|
ImportDate |
Returns the date and time the file was imported. If the return value is empty, the contents of the file have not yet been imported. |