Delete multiple selected records in DBgrid
Posted on 1998-05-09
Hi, my question is about DBGrid Data bound. I have a Database in Access 97 and when I try
to delete more than one register using del key, visual basic says to me that is impossible to
delete multiple records. However, in the Help there is a little code that must do that. This is:
Do While DBGrid1.SelBookmarks.Count <> 0
Data1.Recordset.Bookmark = DBGrid1.SelBookmarks(0)
This code is not correctly (I mean). Only removes on record.
Please give me a solution.
Thanks a lot.