PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Example
// Describe the connection
MyConnection is Connection
 
// Check whether a Client/Server data file exists
IF MyConnection.FileExist("MyFile.FIC") = True THEN
// Processes
...
END

Checking the existence of a data file in HFSQL Client/Server Hide the details

<Result> = <Connection>.FileExist(<Physical file>)
<Result>: Boolean
  • True if the physical data file exists on the server,
  • False otherwise.
<Connection>: Connection variable
Name of the Connection variable that describes the connection associated with the data file.
<Physical file>: Character string (with quotes)
Physical name of sought data file. The file extension must be specified ("Customer.fic" for example).
Remarks
  • <Connection variable>.FileExist can be used no matter whether the data file is opened or not.
  • <Connection variable>.FileExist does not open the data file if it is closed.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment