Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about tableupdate()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00353312
Message ID:
00353349
Vues:
24
>>If nRows is 1 (or .T.) and row buffering is enabled, only changes made to the current record in the table or cursor are committed.
>
>Ok... thank you. I didn't realize you could susbstitute .t. for 1.

Joe and John,

The information was a little incorrect. The T/F valeus for the first argument to TableUpdate() is backwards compatibility to VFP 3. In VFP 3 T for the first argument would update all records and F would only update the current record. This argument if VFP5 and 6 has been changed to 0, 1, or 2 to give better control over how multiple records will be updated.

I also strongly recommend that all arguments be used for tableupdate() so no confusion ever occurs as to which work area should be updated. In event driven applications it is very easy for the work areas to be changed on you, so depending that the current work area is the one you intend is questionable.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform