• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Manipulating Data with ADO > Deleting Data in a Recordset

Deleting Data in a Recordset

Deleting a record is as simple as finding the record and then executing the Recordset object’s Delete method. Just be careful, because after you delete the record, it’s gone. The one trap you need to be aware of is that the current record remains the current record, even after you delete it. To fully commit the delete action and select a valid record, you must execute a Move, Seek, or Find method right after the Delete method.

The Delete method takes the simple form


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint