PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Use in the processes 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,
  • WINDEVWindows MobileJava the number of the option with focus in a check box 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,
  • WINDEV the subscript of the current subscripted control.
Versions 15 and later
Java This function is now available for the Java applications.
New in version 15
Java This function is now available for the Java applications.
Java This function is now available for the Java applications.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the 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.
  • WINDEV Subscript of current subscripted 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 processes of a Table control

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

Limits

CurrentSubscript can be used with:
  • WINDEV the Table controls, the Check Box controls and the Subscripted controls.
  • 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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment