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
<Source>.DeleteView (Function)
In french: <Source>.DétruitVue
ODBCNot available with this kind of connection
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.
Example
// Delete the Customer34 view
IF Customer34.DeleteView() = False THEN
Error("Error while deleting a view: " + HError())
ELSE
Info("The view was deleted.")
END
Syntax
<Result> = <Source>.DeleteView()
<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.
<Source>: Type corresponding to the specified source
Name of the view to delete. This name was defined with <Source>.CreateView.
Remarks
By default, when exiting from the application, all the existing views are deleted.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/07/2023

Send a report | Local help