Subject Re: Flush()
From Ness Stephens <nessstephens@gmail.com>
Date Sat, 26 Sep 2009 16:22:41 +1200
Newsgroups dbase.programming

If you are running two or more programs accessing the same data make sure
the LOCAL SHARE is set to true in the BDE

// open BDE.exe  select configuration then system then INIT then change
// LOCAL SHARE to true
                                                                         Ness

"Charles" <grahamcp@verizon.net> wrote in message
news:h9j1r7.3j0.1@news.alldbase.com...
>I am having a problem with getting the data written to the disc after a
>save.  If the data remains in the buffers, I can not access the tables due
>to a table lock.  I have a rowset.flush() command after the save.  I have
>read the thread on this newsgroup, and tried the rowset.refresh(), but that
>doesn't help either.  I tried using both the flush() and refresh() together
>and that did not help.  I have read the help files that mention the disc
>cache being involved, but I have the disc cache disabled on all the
>computers in the network, so that shouldn't be the problem.  Is there
>anything that can force the buffers to write to the disc?  Right now the
>only way I can force the writing to the disc is to exit the application.
>
> I am using XP Home and dBASE 2.6.1.5 on the peer to peer network.
>
> Charles