PDA

View Full Version : GetFile Info



NewsArchive
06-22-2011, 12:27 PM
If I issue a Get File Info - File Date on a file the does NOT exist in
the path - what is returned in the destination variable or is the %
_SB_ERRORCODE% set to non-zero?

TIA

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
06-22-2011, 12:28 PM
Darrel,

> If I issue a Get File Info - File Date on a file the does NOT exist in
> the path - what is returned in the destination variable or is the %
> _SB_ERRORCODE% set to non-zero?

If the file does not exist, the function fails and the %_SB_ERRORCODE%
return value is nonzero.

The variable that receives the result of this function (destination
variable) holds -1 if the file does not exist.

Friedrich