Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEREVERT to where?
Message
De
04/06/2001 14:21:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
TABLEREVERT to where?
Divers
Thread ID:
00514734
Message ID:
00514734
Vues:
46
I have a grid in a container populated by a local view. If the user adds a record with the Add button (APPEND BLANK, REPLACE...) all is fine. The user enters an amount, say 4000.

If the user clicks on the "Cancel" button I do a TABLEREVERT(.T.,lcTableName). All seems to be fine. The grid doesn't show any records.
OK so far. RECC()=0 RECN()=1

If the user now clicks on Add, the new record has the values of the original TABLEREVERTed record (4000) !
If I now bring up the Debugger, it shows RECC()=1 RECN()=-1.

If I now minimize the debugger the grid doesn't show any records and RECC()=1 RECN()=2 !

If the user clicks Add again and fills in a value, RECC()=2 RECN()=-2 ! With only 1 record showing!

What happens after TABLEVERERT(), where are the entered values stored ?
After the TABLEREVERT and APPEND BLANK what am I seeing?
Anyone have any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform