The File_Probe() function indicates whether a table or file exists in the specified location and can be opened.
File_Probe(pathname)
• pathname – A string containing a generic pathname indicating the location and name of the table or file.
A boolean indicating whether the table or file exists in the specified location and can be opened.
Value |
Description |
---|---|
true |
The table or file exists in the specified location and can be opened. |
false |
The table or file doesn’t exist in the specified location or can’t be opened. |
This function is typically used in the Main Menu form pre script to ascertain whether the pathnames in the Pathnames table specify valid locations.