Home |
About me |
EXCEL
VB Programming (XL97-2003) |
ACCESS Programming |
EXCEL VB.Net Programming |
EXCEL Spreadsheet Functions |
Material Management |
Guestbook
|
ADO AbsolutePage and AbsolutePosition PropertyAbsolutePageThe AbsolutePage property sets or returns a long value that specifies the page number in the Recordset object. It sets or returns a value from 1 to the number of pages in the Recordset. The value is 1 when the current record is the first record in the Recordset. You must also be pointing to a valid record when attempting to use this property. If you are not pointing to a valid record, this property will return one of the PositionEnum constants (either BOF, EOF, or empty) which specify the current position of the record pointer in the Recordset. The first page is always numbered one. You use the PageSize property to set how many records are on a page. You use the PageCount property to determine how many pages are in the Recordset. Note: This property can only be used if the AbsolutePage, PageCount, and PageSize properties are supported by the provider (i.e., bookmarks are supported). AbsolutePositionThe AbsolutePosition property sets or returns a long value that specifies the ordinal (numeric) position of the current record in the Recordset object or the ordinal position of the cursor. It sets or returns a value from 1 to the number of records in the Recordset, or it returns a PositionEnum value. The value is 1 when the current record is the first record in the Recordset. Note that you cannot set this property to any of the PositionEnum constants. When you set this property to a number, you will be moved to the record at the numeric position. This property only points to a position and should not be used to
uniquely identify a record, since additions, deletions, sorts and other
operations can easily rearrange the contents of a recordset. Syntax
Example
PositionEnum Values
|