Chapter Contents

Previous

Next
Data Form and Data Table: _getColumnNumber

Data Form and Data Table: _getColumnNumber



Returns the column number for a column

Delegated to: Data Set Data Model class


Syntax
Details

Syntax

CALL SEND (object-id, '_getColumnNumber', col-name,col-num);

Argument Type
Description
col-name
C specifies the name of the column for which the number is requested
col-num
N returns the number for the named column or -1 if the column does not exist


Details

The assignment of column numbers is independent of whether the column is displayed because the number returned is the position of that column inside the table (data set). In other words, you can call _getColumnNumber for hidden, unhidden, and computed columns.


Chapter Contents

Previous

Next

Top of Page

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