Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does NEEDUPDATE() require exclusive use of table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00489180
Message ID:
00489606
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform