Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cache problem in runing Foxpro 2.6 on NT 4.0 2

Status
Not open for further replies.

kanandy

Programmer
Jul 17, 2000
1
CA
<br>Anyone knows how to solve the problem of the dbf table is not real-time updated in NT server environmnet. I know somehow the problem in 16 bits application runing on 32 bits server and the cache is not updating into the disk. <br><br>Thanks in advance<br><br><br><br>Andy<br>
 
I know it's been a while, but I'm interested to know if this solved kanady's problem. I've got a similar issue in the same environment (DOS FP 2.6 exe on Win98 clients, WinNT 4.0 server) where data written to a dbf opened exclusively is apparantly not being updated on the server before the next client process accesses the table.

This table stores the &quot;next transaction number&quot; for a networked cattle-auction application, and this phenomenon causes grief, to say the least.

I will try the &quot;FLUSH&quot; approach next. Been through everything else :(

Something else those coding DOS FP apps to run against NT servers should know about is Win NT and 2000's caching file opens &quot;feature&quot;. According to Microsoft, this may raise issues with apps that aren't &quot;NT aware&quot;. MS Knowledgebase article Q124916 gives details on this.

Regards,
WBG
 
I had similar problems with Win ME. Disable &quot;write-behind caching&quot; and that should solve the problem. Issuing a FLUSH didn't always work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top