PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
<Source>.DeleteView (Function)
In french: <Source>.DétruitVue
ODBCNot available with this kind of connection
Deletes a previously created view. This deletion removes everything that applies to the view, including its description. During this deletion, the records locked by the view (if they exist) are unlocked.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
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 occurred: 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 by <Source>.CreateView.
Remarks
By default, when exiting from the application, all the existing views are deleted.
Component: wd260hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment