Description
This property allows you to check if a document specified by its name, type and measure units exists.
Syntax
Property get:
Status = Query( DocumentName, Type, Path );
|
Input: (String) DocumentName |
Document name to check for existence. |
|
Input: (DocumentEnumType) Type |
Document type to check for existence. |
|
Input: (String) Path |
Path to folder in which to check for document existent. If you want to look in all folders pass an empty string. |
| Return: (Variant) Status | Variant that contains string type one dimensional array with pathes to folders in which the document with specified parameters exist. |
Note
The parameter Unit temporary does not take affect so you get TRUE result if found document with given DocumentName and Type.