0

Sir,

can you please Give us a VB code for our cmdDelete button?

a code that will delete a data from the database (ms access)..

our form looks like this >>> http://img229.imageshack.us/img229/7583/image002p.jpg

or

we used the "listview" for displaying the searched item/s and be deleted...

note: search and add button is working... so far we need the code for delete button...


Please hel sir.. thank you...

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by vb5prgrmr
0

Several ways in which to do this and it all depends upon how your database is designed and the code you have. It could be something as simple as rs.delete or strSQL = "DELETE FROM Table1 WHERE FieldCriteria = " & SomeCondition


Good Luck

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.