ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Starting to read a file after pointing directly to a record
HChangeKey (Example)
Example: Starting to read a file after pointing directly to a record
WINDEVWEBDEV - Server codeWindowsUser code (UMC)AjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBNative Connectors (Native Accesses) The following code reads a specific record using its record number (RecNumMemo variable). The read operation is initialized with HChangeKey: the search key is specified, and all the following records are read based on this search key.
HRead(CUSTOMER, RecNumMemo)
HChangeKey(CUSTOMER, CUSTNAME)
WHILE NOT HOut()
Print_Client()
HReadNext(CUSTOMER)
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