Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid TableUpdate() to move the pointer ?
Message
 
À
02/02/1999 11:26:48
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182430
Message ID:
00183022
Vues:
15
>OIC, now, Luis. When you issue the TABLEUPDATE, are you issuing it to update all records or just the current record? IOW, are you issuing:
>
TABLEUPDATE( <b>0,</b>, .T.[.F.][, cAlias])
>
>
I am updating all records with TABLEUPDATE(.T.). this code was originally
in 3.0b,now is running in 5.0a, as you know, the sintax for TABLEUPDATE changed in 5.0, but it recognizes TABLEUPDATE(.T.) from 3.0b.
I guess that is the way it works and it seems to me that the
explanation in the help file if not very clear.

It says :
"TABLEUPDATE( ) returns false (.F.). If you specify 0 or 1 for nRow, the record pointer remains on the record where changes could not be committed and can issue AERROR( ) to determine why the changes could not be commited."

It doesn't say that the pointer remains in the last record updated,
see what I mean ?
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform