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
<Connection variable>.NoDatabaseAccess (Function)
In french: <Variable Connexion>.InterditAccèsBaseDeDonnées
HFSQL Client/ServerAvailable only with this kind of connection
Denies all new connections to a database or to all databases.
Remarks:
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.
Android This function is now available for Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
IF MyConnection.NoDatabaseAccess("CustomerDatabase") THEN
Info("Unable to connect to the database")
END
Syntax
<Result> = <Connection>.NoDatabaseAccess([<Database>])
<Result>: Boolean
  • True if the access (which means the connection) to the specified database (or to all the databases accessed by the connection) is denied,
  • False if an error occurred. HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection containing the database to which access must be denied.
<Database>: Optional character string (with quotes)
Name of the database for which the access must be denied.
If this parameter is set to "*", the access will be denied for all the databases.
If this parameter is not specified, the access will be denied for the databases used by <Connection>.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment