Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending records in a grid
Message
De
04/12/2002 09:25:41
 
 
À
03/12/2002 16:53:26
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00729167
Message ID:
00729404
Vues:
18
>I have a grid that displays one of my updatable biz objects. Then I just realized that the records in my grid should be populated everytime a user enters a number. This means that everytime I requery my biz objects, my grid should display the previously displayed records plus the newly retrieved records. Since my view in this object is parameterized, I will be getting only the latest records. Is it possible in MM to define a view or a cursor where I can append records in every requery and do not delete the previous records?

Why do you need to requery? Or the opposite - do you need the ability to revert those new records?

I'm trying the same myself, putting the view in table buffered mode, inserting all the values for the record and *not* requerying. If you don't need the revert capability, just save the data in the bizobj before requerying. Requery has an internal tablerevert that drops uncommitted changes.

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform