Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>In MyForm init:
>SET MULTILOCKS ON
>CURSORSETPROP("buffering",5,"MyView")
>CURSORSETPROP("buffering",5,"MyTable")
>Buffermodeoverride is set to 1 on both.
>
>In save button click:
>TABLEUPDATE(1,.T.,"MyView")
>
>In revert button click:
>TABLEREVERT(.t.,"MyView")
>
>The revert button works, at least it changes the records in the grid back to what they were before the changes were made.
>
>But the save button does not save the changes to the original table (MyTable).
>
>What am I missing?
If you have the underlying table buffered, you must also tableupdate the table as well.
Précédent
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