PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Example
Example
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileJavaPHPAjaxUser code (UMC)HFSQLHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBODBCNative Connectors (Native Accesses) This example is used to find the customers whose gross sales is greater than the value X (entered in a window for example). The AddCustomerList procedure is used to display the corresponding customer list in a List Box control.
// Find customers whose gross sales are greater than X
HReadSeekFirst(CUSTOMER, Turnover, X)
WHILE HOut(CUSTOMER) = False
AddCustomerList()
HReadNext(CUSTOMER, GrossSales)
END
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment