Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

delete a record

 
subu ananthram
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
// Deletes a record, making the record number and associated disk
// storage available for reuse.
// Throws SecurityException if the record is locked with a cookie
// other than lockCookie.

I thought that if I was to delete a record I would just mark it as deleted
and let it be reused but from my instruction am I to construe I get rid of the row totally ??Any ideas what is everyone doing
Regards
Subu
 
Mark Smyth
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by subu ananthram:
// Deletes a record, making the record number and associated disk
// storage available for reuse.


Not to worry you are on the right track. Marking a record as deleted does make the record number and disk storage available for reuse. This is because the create method can use any record slot marked as deleted and can overwrite it with the new record data.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic