Export (0) Print
Expand All

firstPage method

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

Syntax

var retval = table.firstPage();

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 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.

See also

table
Reference
lastPage
nextPage
previousPage
Conceptual
Introduction to Data Binding

 

 

Show:
© 2014 Microsoft