Chapter Contents

Previous

Next
Data Form and Data Table: _setDataset

Data Form and Data Table: _setDataset



Sets the data set (table) being accessed by the object

Delegated to: Data Set Data Model class


Syntax
Details

Syntax

CALL SEND (object-id, '_setDataset', name<, mode<, locking<, option-1<,...option-n>>>>);

Argument Type Description
name
C specifies the name of the new data set (table). The name may include data set options.
mode
C specifies the open mode: 'BROWSE' or 'EDIT'. The default is 'BROWSE'.
locking
C specifies the locking level: 'RECORD' or 'MEMBER'. The default is 'RECORD'.
option-1<,...option-n> C specifies any additional _setDataset method options:


'BRONLY' prevents editing of the table


'NOADD' prevents the user from adding new rows to the table


'NODELETE' prevents the user from deleting rows in the table


Details

The _setDataset method removes all computed columns defined using the _addComputedColumn method. Recursive calls to _setDataset are not allowed.

Note:   

  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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