SetReportColumnWidth (ColName, points)

Definition:  Sets the width of the named report column to the number of points specified. This function can only be used from an MWScript SetupReport handler.


on SetupReport
    SetReportColumnWidth("TAXCOL", if(Val("Show_Tax"), 80, 0))

If the Show_Tax report control is true, the width of column TAXCOL is set to 80 points, otherwise it is set to zero (i.e. it is hidden).

Availability:  Only within a SetupReport handler