ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Used to find out if a data file exists, i.e. if it has been physically created (<Source>.Creation or <Source>.CreationIfNotFound).
Remark: The substitutions currently performed on the data file (by HSubstDir, <Source>.ChangeDir and <Source>.ChangeName) are taken into account.
Example
// Check whether the "Customer" data file exists
IF Customer.FileExist() = True THEN
// Processes
...
END
Syntax

Checking the existence of a data file, query or view Hide the details

<Result> = <Source>.FileExist()
<Result>: Boolean
  • True if the physical file exists,
  • False otherwise.
<Source>: Type corresponding to the specified source
Name of the element to be used:
  • Name of data file.
  • Name of view or query.
Remarks
  • <Source>.FileExist can be used whether the file is open or closed.
  • <Source>.FileExist does not open the data file if it is closed.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help