PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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:
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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.
Note: 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 the 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 the 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 the Android applications.
// Check whether the "Customer" file exists
IF HFileExist(Customer) = True THEN
// Processes
...
END
// Check whether a Client/Server file exists
IF HFileExist(MyConnection, "MyFile.FIC") = True THEN
// Processes
...
END
Syntax

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

<Result> = HFileExist([<Element Name>])
<Result>: Boolean
  • True if the physical file exists,
  • False otherwise.
<Element Name>: Optional character string (with or without quotes)
Name of element to use:
  • Name of data file.
  • Name of view or query.
If this name is not specified, HFileExist handles the last data file, query or view used by the last function for HFSQL management (starting with the letter H).
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)HFSQL Client/Server

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

<Result> = HFileExist(<Connection Name> , <File Name>)
<Result>: Boolean
  • True if the physical data file exists on the server,
  • False otherwise.
<Connection Name>: Character string (with or without quotes)
Name of connection associated with the data file. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<File Name>: Character string (with quotes)
Physical name of sought data file. The file extension must be specified ("Customer.fic" for example).
WINDEVWEBDEV - Server codeReports and QueriesAndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 AppJavaAjaxUser code (UMC)HFSQL Client/Server

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

<Result> = HFileExist(<Connection Name> , <File Name>)
<Result>: Boolean
  • True if the physical data file exists on the server,
  • False otherwise.
<Connection Name>: Character string (with or without quotes)
Name of connection associated with the data file. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<File Name>: Character string (with quotes)
Physical name of sought data file. The file extension must be specified ("Customer.fic" for example).
Remarks
  • HFileExist can be used no matter whether the data file is opened or not.
  • HFileExist does not open the data file if this one is closed.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment