How to work with the Delete Button to delete data
To work with the Delete Button to delete data
Step 1:
To delete data from the database, you can add a Command button to the form:
Step 2:
Set caption of the CommandButton Properties:
Caption=Delete
Step 3:
Double click on the button and write down the programming codes:
Private Sub Command7_Click()
Adodc1.Recordset.Delete
End Sub
This will delete the data from the database after clicking on the 'Delete' button.
No comments:
Post a Comment