0%
创建rowset
1 2 3 4 5
| Local Rowset &rs = CreateRowset(Record.C_PI_QRY_VW);
Local number &num_count = &rs.Fill("where 1=1 ");
|
获取RowSet
1 2 3 4
| Local Rowset &rs = getLevel0().getrow(1).GetRowset(Scoll.C_PI_QRY_VW);
local number &num_count = &rs.select(record.C_PI_QRY_VW," where 1=1 ");
|
1 2 3 4 5
| Local Rowset &rs = GetRowset();
local number &num_count = &rs.select(record.C_PI_QRY_VW," where 1=1 ");
|
清空Rowset释放缓冲区
复制Rowset
增、删Rowset中的行
1 2 3 4 5 6
| insertRow(n);
deleteRow(n);
|
获取Rowset中的特定行
1 2 3 4 5
| &ROW = GetRowset().GetRow(5); &ROW = GetRowset()(5); &ROW = &ROWSET.GetRow(5); &ROW = &ROWSET(5);
|
对Rowset进行排序
1 2 3 4 5
| &rs.sort(table.filed1, "A", table.field2,"D");
|