Returns the number of the current column in a multicolumn report.
Remark: This function can only be used in the reports created with the report editor.
// Change the background color of a block according to the column number
// (for a report with 2 columns)
// In the event "Before printing the block"
MyCurrentColumn is int
MyCurrentColumn = iColumnNum()
MySelf..BrushColor = LightRed
MySelf..BrushColor = LightGreen
- Number of the column currently printed,
- -1 if an error occurred.
- 1 if the current report is not a multicolumn report.
- The column numbers start from 1.
- ..NbColumn is used to find out the number of columns in the current report.
Business / UI classification : Neutral code
Component : wd250etat.dll