FW: [DUG] Legacy App. issue: flushing / committing data changes - BDEparadox Table

Richard Vowles richard at developers-inc.co.nz
Tue Mar 27 13:39:26 NZST 2007


Malcolm Groves wrote:
> I think maybe he is looking for the FlushBuffers method of TBDEDataset.
> This fromt he help:
>  
> Call FlushBuffers to cause the dataset to post all pending changes to
> the database, including any cached updates. Use FlushBuffers instead of
> CheckBrowseMode if it is important that cached record buffers are
> posted. 
>
>  
>
> Cheers
>
> Malcolm
>
>
> ________________________________
>
> From: delphi-bounces at ns3.123.net.nz
> [mailto:delphi-bounces at ns3.123.net.nz] On Behalf Of Paul A Norman
> Sent: Monday, 26 March 2007 4:12 PM
> To: NZ Borland Developers Group - Delphi List
> Subject: [DUG] Legacy App. issue: flushing / committing data changes -
> BDEparadox Table
>
>
> HI all,
>  
> Have been asked to review and old D.4 app of mine that someone is
> running on a more modern machine, with much more ram, than was in common
> use in the day.
>  
> Newly created  records do not always appear when the app is reopened
> after an overnight reboot.
>  
> This is a new problem.
>  
> Dimmly recall previously reading about ram to disk commital issues,
> and/or flusing data changes - needing to be flushed through BDE, when a
> computer shutdown -> shuts a Delphi App. down.
>  
> Any one recall these issues from the past - something to be placed in
> the Form onCose or onCloseQuery?
>  
> Any thoughts appreciated please,
>  
> Paul
>
>   


-- 
Richard Vowles, Product Evangelist
Developers Inc Ltd (for Delphi, C++ Builder, JBuilder, InterBase)
March Codegear Seminars: http://tinyurl.com/25jxqk
web. http://www.developers-inc.co.nz
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384, skype. rvowles


-------------- next part --------------
A non-text attachment was scrubbed...
Name: richard.vcf
Type: text/x-vcard
Size: 309 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20070327/6be4db90/richard.vcf


More information about the Delphi mailing list