ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to find out if a data file exists, i.e. if it has been physically created (<Source>.Creation or <Source>.CreateIfNotFound).
Note: Substitutions currently being made to the data file (using functions HSubstDir, <Source>.ChangeDir and <Source>.ChangeName) are taken into account.
Example
// Test de l'existence du fichier de données "Client"
IF Client.FichierExiste() = True THEN
	// Traitements
	...
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 element to use:
  • 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: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help