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...

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.