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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Changes the browse item. The current record is not modified.
After the function is executed, the browse is performed from the current record, according to the new browse item. <Source>.ChangeKey can be used to start browsing a data file, after being positioned on a record with direct access (with <Source>.Read for example).
Remark: This function can be used on an HFSQL data file, query or view.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Changement de la clé de parcours
SI Client.ChangeClé(Nom) = Faux ALORS
Erreur("Sélectionnez un client dans la table")
FIN
Syntax
<Result> = <Source>.ChangeKey([<Item> [, <Browse mode>]])
<Result>: Boolean
  • True if the search key was modified,
  • False an error occurred (no read function has preceded the change of key...): the search key is not modified. HError is used to identify the error.
<Source>: Type corresponding to the specified source
Name of data file, HFSQL view or query used.
<Item>: Optional character string
Name of the new browse item.
If this name is not specified, <Source>.ChangeKey will use the last browse item specified by the last HFSQL management function (function starting with "H").
<Browse mode>: Optional Integer constant
Characteristics of the data file browse on the new key:
hKeepFilterThe path will take into account the filter set up with the <Source>.Filter function, even if the path key used is not optimized for the filter.
Reminder: function <Source>.Filter returns the optimized path key for the filter.
Caution: In this case, performance issues may arise for large data files

Hyper File 5.5 The <Browse mode> parameter cannot be used.
Component: wd270hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment