PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the number of the current record in a browsing Table control.
Remark: TableNumEnr_objet can be used on a single-selection or multiselection table.
Example
// Current record number in the "TABLE_ProductTable" control
ResRecNum = TABLE_TableProduct.RecNum()
Syntax
<Result> = <Table control>.RecNum()
<Result>: Integer
  • Current record number in the data file linked to the Table control,
  • 0 if there is no current row or if the current row is not saved yet in the data file linked to the Table control.
<Table control>: Control name
Name of Table control to use.
Remarks
  • If the query was run with the hWithFilter constant (option checked in the query editor), TableNumEnr_objet returns the number of the current record in the query.
  • If the query was run without the hWithFilter constant, TableNumEnr_objet returns an undefined result.
Component : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment