Chapter Contents

Previous

Next
Data Form and Data Table: _addComputedColumn

Data Form and Data Table: _addComputedColumn



Adds a computed column that gets its value from SCL

Delegated to: Data Set Data Model class


Syntax
Details

Syntax

CALL SEND (object-id, '_addComputedColumn', attr-list);

Argument Type
Description
attr-list
N specifies the identifier of an SCL list that contains the attributes for the computed column


Details

Only the NAME item is required, but any column attributes accepted by the _setColumnAttributes method can be passed in this list. If no type is specified, numeric is the default.

Data values for the computed column can be assigned or queried using model SCL code. The computed column is added at the end of the row. The data form or data table determines if the column should be displayed and how to display it.

Note:   The _addComputedColumn method cannot be called from the model's SCL entry.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.