The statement filebox allows user in the MS file selection form to choose the option "all files" and select an arbitrary file, although the filebox option for file types is restricted only to certain file types. The request to Uniface development is that after file selection Uniface itself checks the selected file:
- Is the file type correct? If not then $status is not 0 but e.g. 1 telling that file type is incorrect.
- Is the file path correct? If not then $status is not 0 but e.g. 2 telling that file path does not correspond to given entry path.
Another possibility would be a new option /secure with the consequence that $status would be negative and $result is empty, if one of the mentioned checks above fails.
------------------------------
Ewald Wichmann
Akdb
------------------------------