PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
iColumnNum (Function)
In French: iNumColonne
Returns the number of the current column in a multicolumn report.
Note: This function can only be used in the reports created with the report editor.
Versions 18 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 18
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
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.
Example
// Change the background color of a block according to the column number
// (for a report with 2 columns)
// In the "Pre-print process of the block"

MyCurrentColumn is int
MyCurrentColumn = iColumnNum()
SWITCH MyCurrentColumn
CASE 1:
MySelf..BrushColor = LightRed
CASE 2:
MySelf..BrushColor = LightGreen
END
Syntax
<Result> = iColumnNum()
<Result>: Integer
  • Number of the column currently printed,
  • -1 if an error occurred.
  • 1 if the current report is not a multicolumn report.
Remarks
  • The column numbers start from 1.
  • ..NbColumn is used to find out the number of columns in the current report.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230etat.dll
Windows Mobile wp230etat.dll
Linux wd230etat.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment