lastPage method
Displays the last page of records in the data set to which the table is bound.
Syntax
HRESULT retVal = object.lastPage();
Parameters
This method has no parameters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
There are no standards that apply here.
Remarks
The IHTMLTable::dataPageSize property of the table determines the number of records displayed. You must set the IHTMLTable::dataPageSize attribute when designing the document, or set the corresponding IHTMLTable::dataPageSize property at run time for this method to have any effect.
Note You do not need to check for boundary conditions.
See also
- Reference
- IHTMLTable2::firstPage
- IHTMLTable::nextPage
- IHTMLTable::previousPage
- Conceptual
- Introduction to Data Binding
Show: