lastPage method

[This documentation is preliminary and is subject to change.]

Displays the last page of records in the data set to which the table is bound.

Syntax

HRESULT retVal = object.lastPage();

Standards information

There are no standards that apply here.

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.

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

 

 

Build date: 6/12/2012