Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Joe-
>I buffered them both for a reason. It allows me to insert,edit,delete records in the view, then tableupdate. This updates the base table but the changes still are not committed. Then if depending on that I want... I can tableupdate (or tablerevert) the base table and everything is saved or it returns to it's initial state.
In that case you'll need to TableUpdate the table, too. I still don't see why you need to double buffer. Generally I wouldn't table update the view until I knew I really wanted to tableupdate. But there's an exception to every rule. It's just operating outside the normal channels.
>
>There's actually a parent of "test" and the view (of "test") is the related
>children. I use a view instead of a relation since the view is actually
>(in my real code) made up if two different tables. VFP can't deal with that in a grid.
Yes, that sounds about like the common situation.
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