ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Performing a process according to the status of the record
Example: Performing a process according to the status of the record
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)AjaxHFSQL ClassicHFSQL Client/Server The following example is used to process the records found in the data file according to their status (active, crossed or deleted). i represents the record number.
// if the nth record is active
SWITCH HState(CUSTOMER, i)
CASE hStateActive
// Process the active records
...
CASE hStateCrossed
// Process the crossed records
...
END
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