PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use in the events of a Table control
  • Limits
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
Depending on the specified control, returns:
  • the number of the current row displayed in the current Table control,
  • Versions 21 and later
    WEBDEV - Server code the number of the current row in the current Looper control,
    New in version 21
    WEBDEV - Server code the number of the current row in the current Looper control,
    WEBDEV - Server code the number of the current row in the current Looper control,
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 21 and later
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
New in version 21
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
Example
RowNum is int = CurrentSubscript()
Trace("Number of the current row: " + RowNum)
Syntax
<Result> = CurrentSubscript()
<Result>: Integer
  • Number of the current row displayed in the current Table control.
  • Number of the option in the current Check Box control.
  • Versions 21 and later
    WEBDEV - Server code Number of the current row displayed in the current Looper control.
    New in version 21
    WEBDEV - Server code Number of the current row displayed in the current Looper control.
    WEBDEV - Server code Number of the current row displayed in the current Looper control.
Remarks

Use in the events of a Table control

When initializing a Table control, the "Row display" event is run whenever a row is displayed in the Table control.
When initializing a Table control, if CurrentSubscript is used in the "Row display" event of a row, CurrentSubscript returns 0.

Limits

CurrentSubscript can be used with:
  • Versions 21 and later
    WEBDEV - Server code the Table controls and the Looper controls.
    New in version 21
    WEBDEV - Server code the Table controls and the Looper controls.
    WEBDEV - Server code the Table controls and the Looper controls.
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment