Chapter Contents

Previous

Next
Data Set Data Model: _setColumnAttribute

Data Set Data Model: _setColumnAttribute



Sets an attribute for a column


Syntax
Details

Syntax

CALL SEND (object-id, '_setColumnAttribute', col-name, attr-name, attr-value);

Argument Type Description
col-name
C specifies the name of the column in which to set the attribute
attr-name
C specifies the name of the column attribute to be set
attr-value
C | N specifies the value of the column attribute


Details

The type of the attribute value must match the type of the attribute you specify. Note that this method is indirectly delegated to the Data Set Model class, so column attributes for the Data Set Model class can be used for this method.

To specify more than one column attribute, use the _setColumnAttributes method.

Note: You cannot change the NAME, TYPE, LENGTH, COMPUTED, or MODIFIED attributes of a column.

A font list is acquired from the SCL FONTSEL function or a call to the _getDataFont method, the _getColumnAttribute method (retrieving the DATAFONT attribute), or a similar method that gets fonts for other objects.

See Data Form and Data Table: _setColumnAttribute in the Data Form Data Table class for a list of column attributes.


Chapter Contents

Previous

Next

Top of Page

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