|
|
|
|
El NbColumn Property se utiliza para get el número de columnas en un reporte. Esta Property se utiliza para averiguar si una reporte es una reporte multicolumna.
// 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" IF MyReport.NbColumn = 2 THEN ACurrentColumn is int = iColumnNum() SWITCH ACurrentColumn CASE 1: MySelf.BackgroundColor = LightRed CASE 2: MySelf.BackgroundColor = LightGreen END END
Sintaxis
<Result> = <Report used>.NbColumn
<Result>: Integro Número de columnas encontradas en el reporte. <Report used>: Nombre del reporte Nombre de la reporte a utilizar. Observaciones - El NbColumn Property sólo se aplica a los informes (y no a los controles o bloques de un reporte).
- El NbColumn Property debe utilizarse en el código de los eventos asociados al reporte.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|