Tuesday, December 11, 2007

How to work with the Refresh Button to refresh database

How to work with the Refresh Button to refresh database

To work with the Refresh Button to refresh database

Step 1:

To refresh the database, you can add a button to the form:

Step 2:

Set the caption of the button properties:

Caption=Refresh

Step 3:

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

Private Sub Command8_Click()

Adodc1.Refresh

End Sub

After clicking on the 'Refresh' button, the data will be refreshed to reflect the most updated data from the database file.

No comments: