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
HDeleteView (Function)
In french: HDétruitVue
ODBCNot available with this kind of connection
Warning
From version 20, SQL views and the materialized views are available.
The views handled by this function correspond to the former view mechanism. They do not correspond to SQL views or to materialized views.
Deletes a previously created view. This deletes everything related to the view, including its description. During this deletion, the records locked by the view (if they exist) are unlocked.
// Destruction de la vue Client34
IF HDeleteView(Client34) = False THEN
	Error("Erreur lors de la destruction d'une vue : " + HError())
ELSE
	Info("La vue a bien été détruite.")
END
Syntax
<Result> = HDeleteView([<View>])
<Result>: Boolean
  • True if the view was deleted,
  • False in the event of a problem: sight is not destroyed. HError is used to identify the error.
<View>: Optional character string
Name of the view to delete. This name was defined with HCreateView. If this parameter is not specified, HDeleteView refers to the last used view.
Remarks
By default, when exiting from the application, all the existing views are deleted.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help