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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement