RowSet Class

A rowset object, instantiated from a Rowset class, is a collection of rows associated with buffer data. A component scroll is a rowset. We can also have a level zero rowset.

Functions

CreateRowset(Record.Name [,&Rowset}])
GetRowset(Scroll.name)

Methods

GetRow(row)
CopyTo(&ToRowset[,Record.fromname,Record.toname])
DeleteRow(row),InsertRow(row)
Fill(&where[,&var])
HideAllRows(),ShowAllRows()
Flush(),FlushRow(row)
Select(Scroll.name[,Scroll.name2],Record.name[.&where,&var]),SelectNew(Scroll.name[,Scroll.name2],Record.name[.&where,&var])
GetCurrEffRow()GetNewEffRow()
Sort(Scroll.name[,Scroll.name2],Record.filed,order[,record.field,order2])
Refresh()
SetDefault(record.field)

Properties

ActiveRowCount      [R/W]
ChangeOnInit             [R/W]
DataAreaCollapsed         [R/W]
DBRecordName      [R]
DeleteEnabled [R], InsertEnabled [R/W]
EffDt [R],EffSeq          [R]
ParentRow [R],  ParentRowset [R],  TopRowNumber [R/W],RowCont [R]
IsEditError           [R]
Level               [R]
Name                [R]

* We would be having Row ,Record and Field Classes in coming PeopleCode Tips. Keep watching.

Advertisements