ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Checking the existence of the data file named CUSTOMER
HFileExist (Example)
Example: Checking the existence of the data file named CUSTOMER
HFSQL ClassicHFSQL Client/ServerNative Connectors (Native Accesses) The following example is used to check whether the data file named CUSTOMER exists in the specified directory.
// Check whether the CUSTOMER file exists
HChangeDir(CUSTOMER, "C:\TEMP")

IF HFileExist(CUSTOMER) = True AND HError() = hNoError THEN
// Processes
...
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help