ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
// Delete the Customer34 view
IF HDeleteView(Customer34) = False THEN
Error("Error while deleting a view: " + HError())
ELSE
Info("The view was deleted.")
END
Syntax
<Result> = HDeleteView([<View>])
<Result>: Boolean
  • True if the view was deleted,
  • False if a problem occurs: the view is not deleted. 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: wd290hf.dll
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