Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does NEEDUPDATE() require exclusive use of table
Message
 
To
28/03/2001 15:32:53
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00489180
Message ID:
00489834
Views:
8
Thanks Doug, I'll try the change.

-- Larry


>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
Larry Tucker
Previous
Reply
Map
View

Click here to load this message in the networking platform