Tuesday, December 11, 2007

How to work with the Next Button to access data

How to work with the Next Button to access data

To work with the Next Button to access data

Step 1:

To move to the next record, add the button to the form:

Step 2:

Set the Caption properties:

Caption=Next

Step 3:

Double click on the button and write down the programming codes:

Private Sub Command3_Click()

Adodc1.Recordset.MoveNext

End Sub

This will move to the next record after clicking on 'Next' button on the form.

No comments: