PDA

View Full Version : How can i see deleted records (DBase) in DBGrid ?


kardosi
07-10-2001, 01:07 AM
I need see the deleted records in the DBGrid component from
a DBase Table. How can i made it? If possible, plese send me an example... (E-Mail : kardosi@freemail.hu)
Thanks

Kardosi Bela

LörAn
07-10-2001, 01:21 AM
I don't know the exact DBase management system, but I think that the deleted records aren't stored in any table. So I think you have to manager it by yourself , i.e. before deleting your table, you'll have to copy the records to another table, so that you'll be able to link it to your DBGrid and display these records.
Sorry, but I don't see any other way...

LörAn.
ICQ #112714184

w_samaha
07-10-2001, 05:35 AM
Yes, you can manage that if the TDataset is CachedUpdate...

just read about the ChachedUpdate & use the TBDEDataSet.UpdateRecordTypes to determine what updated record to view... do not forget to make the update on the same CahedUpdate TDataset...

.
.
Greetings
SAM