ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Running a view
  • Example: Running a view
HExecuteView (Example)
Example: Running a view
WINDEVUser code (UMC) This example is used to create a view and to run it later.
total is int = 0
IF HCreateView ("MyView", "REPORT", "", "FORMETYPE", hViewPostponed) = True THEN
// Process
HExecuteView(MyView)
HReadFirst(MyView)
WHILE NOT HOut()
total += RP.NBCALLS
HReadNext(MyView)
END
HDeleteView(MyView)
END
Example: Running a view
WINDEVUser code (UMC) This example is used to create a view and to run it later.
total is int = 0
IF HCreateView ("MyView", "REPORT", "", "FORMETYPE", hViewPostponed) = True THEN
// Process
HExecuteView(MyView)
HReadFirst(MyView)
WHILE NOT HOut()
total += RP.NBCALLS
HReadNext(MyView)
END
HDeleteView(MyView)
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/30/2022

Send a report | Local help