How to work with Previous Button to access data
To work with Previous Button to access data
Step 1:
To go back to a previous record, add the button to the form:
Step 2:
Set the Caption properties:
Caption=Previous
Step 3:
Double click on the button and write down the programming codes:
Private Sub Command2_Click()
Adodc1.Recordset.MovePrevious
End Sub
This will move the data to the previous record after clicking on the button.
No comments:
Post a Comment