Tuesday, December 11, 2007

How to work with the First Button to access data

How to work with the First Button to access data

To work with the First Button to access data

Step 1:

To move back to first record, add one Button to the Form:

Step 2:

Set the Caption Properties:

Caption=First

Step 3:

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

Private Sub Command1_Click()

Adodc1.Recordset.MoveFirst

End Sub

By clicking on the Command button, the data will be moved back to the first record through the ADODC control.


No comments: