Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Destroy and Unload
Message
 
 
À
11/11/2008 07:31:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360872
Message ID:
01361053
Vues:
12
>>Jay,
>>
>>the problem is TABLEUPDATE(.T.)
>>
>>This will update the current record only, return True, but other records will be uncommitted.
>>IOW
>>
>>SELECT Covr
>>IF CURSORGETPROP( 'Buffering' )>1 AND !TABLEUPDATE( .T. ,.T.)
>>	TABLEREVERT( .T. )
>>ENDIF 
>>
>>
>>Agnes
>
>Agnes,
>
>I think calling tableupdate() with the first parameter set to TRUE and table buffering updates ALL records
>
>The second parameter is for lForce
>
>imo TableUpdate(.f.) will only update the current record

Ok, I think you're right :) So, even one great catch turned out to be not so great :)

Kidding, I should have checked parameters myself.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform