Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does NEEDUPDATE() require exclusive use of table
Message
From
28/03/2001 15:32:53
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00489180
Message ID:
00489606
Views:
14
Hi Larry.

>Correction, I've already upgraded to 5.1i and am still getting a TRUE from NEEDUPDATE() when a file is in use and not really different.

You're right. The fix is simple (and will be in 5.1j): in SDTMgr.ReadBackLink, change this line:
lnHandle = fopen(tcFile, F_READWRITE)
to:
lnHandle = fopen(tcFile)
There's no need to open the table for read/write access when simply reading the backlink. I tested this and change and it now returns .F. when a file is in use and not really different.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform