RecordsetNavbar Script Object

See Also      Tasks      Properties      Methods      Events

Creates a set of HTML buttons on the client browser for accessing the first, last, next, and previous records of a Recordset object.

Remarks

At design time, you can use the RecordsetNavbar design-time control to create a RecordsetNavbar object. The RecordsetNavbar control has property pages that make it easier to control the behavior of the RecordsetNavbar object.

The RecordsetNavbar object allows you to move the cursor position within the recordset if you bind it to a recordset.

To automatically update the recordset with data from all objects on the page that are bound to the same Recordset object as the RecordsetNavbar, set the updateOnMove property to true.

There are four possible buttons on the RecordsetNavbar: "First," "Previous," "Next," and "Last." To return an individual button, call the getButton method.

To control how the RecordsetNavbar is displayed, call the show, hide, isVisible, getAlignment, and setAlignment methods.

To cancel move methods, call the cancelOperation and isOperationCancelled methods.

For information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.