Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View - tableupdate philosophy problems.
Message
De
27/11/2000 17:09:28
 
 
À
27/11/2000 16:04:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00444385
Message ID:
00445882
Vues:
29
>>I thought ALL changes were buffered and therefore were revertable at any time.
>
>They are, if you use Table buffering and not Row Buffering. Row buffering is the only kind that commits changes without you asking, and is therefore IMO, _never_ a good idea.

I did use table buffering. What I did was place a parameterized view in a grid. In the refresh method I update the parameter with the PK of the header table and Requery. This works fine until I add/delete a record in the line item (the one in the grid) view. If I don't EMEDIATELY tableupdate, when I do a ThisForm.Refresh() I get a changes not committed to lines (the view) error. The only way I have been able to deal with this is to not do a Requery in EditMode. VERY confusing.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform