Displays the last page of records in the data set to which the table is bound.
Syntaxvar retval = table.lastPage();
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
There are no standards that apply here.
The dataPageSize property of the table determines the number of records displayed. You must set the DATAPAGESIZE attribute when designing the document, or set the corresponding dataPageSize property at run time for this method to have any effect.
Note You do not need to check for boundary conditions.