Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 - OPTIMISTIC TABLE BUFFERING
Message
De
30/06/1997 16:58:28
 
 
À
30/06/1997 15:08:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00038157
Message ID:
00038173
Vues:
33
>I have a free table called "dsales"
>
>? CursorGetProp("Buffering",'dsales') <---- =5 optimistic table buffering
>
>If I edit a record and before moving off the record and
>in the command window type
> ? TableRevert() <---- returns 1
>
>Great ... it rolled back the record.
>
>If I edit a record and move off of the record and
>in the command window type
> ? TableRevert() <---- returns 0
>
>and the record doesn't revert to it's original state.
>
>Since I have optimistic table buffering on shouldn't
>the record (even if I move off the record) revert
>to it's original state?
>

To answer my own question:

The record was reversed but the browse window
itself was not refreshed. If I closed the dbf and
reopened the table, edited records had reverted.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform