Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Revert not working with form with buffering
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00228014
Message ID:
00228035
Vues:
16
Are you using table or record buffering? If it's record buffering, make sure that the pointer is not moved anywhere in your code because it will save automatically the record to the table.

If you are using table buffering, are you sure that you are in the right area? To avoid these problems, I allways specify the alias in the parameters of TableRevert().

>I apologize for the confusion. The issue is first setting up the form and databases correctly to utilize optimistic buffering. I think I have done this and validated it with the property cusorgetprop().
>
>Now that I have done this, I want to give the user the ability of selecting revert so their changes are not written to the database from the cursor. For this I have a command button whose caption is 'Revert' and whose click event is =Tablerevert().
>
>When I change data, and select 'Revert', the data gets saved regardless! Why? I don't know. Thats the problem.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform