Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with tablerevert
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111461
Message ID:
00111473
Vues:
17
>I have procedure that I perform to a buffered table (opt 5) that
>1. deletes the current record
>2. appends a new record and fills some fields in the newly appended record with some values.
>
>Okay so far.
>
>If Tableupdate() passes everything is fine, but if a tablerevert() is issued do to a cancel by the user, or a failed tableupdate, the revert doesn't recall my deleted record back. It only goes back to where I deleted the record leaving me with no record instead of the initial value before I started. Is there a way to put this record back in other than issuing a recall for the record in the case of a tablerevert action?
>
>Thanks.
>
>John

John,

Are you sure you issue TABLEREVERT() with the .T. paramater to revert ALL records modified on the table. I did a quick test on a table in VFP5 and it reverted fine.
regards

Ian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform