|
|
|
|
|
Applying a method to a Recordset |
|
|
|
|
|
|
|
|
JavaScript methods of the recordset object |
recordset method |
Moves to |
id.recordset.moveFirst() |
the first record in the id recordset |
id.recordset.movePrevious() |
the previous record |
id.recordset.moveNext() |
the next record |
id.recordset.moveLast() |
the last record in the id recordset |
id.recordset.move(i) |
record number I in the id recordset (record numbering starts with the number 0) |
|
|
JavaScript properties of the recordset object |
recordset property |
Returns |
id.recordset.BOF |
A boolean value (true or false) indicating whether the current record position is at the beginning of the DSO before the first record |
id.recordset.EOF |
A boolean value indicating whether the current record position is at the end of the DSO after the last record |
id.recordset.Index |
The index number of the current record in the DSO recordset (the first record has an index value of 0) |
id.recordset.RecordCount |
The total number of records in the DSO recordset |
|
|
|
|
|
Table methods and properties |
Table method/property |
Description |
id.firstPage() |
Deisplays the first page in the id table |
id.previousPage() |
Displays the previous page in the table |
id.nextPage() |
Displays the next page in the table |
id.lastPage() |
Displays the last page in the table |
id.dataPageSize=n |
Sets the number of pages in the id table to n pages |