Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending records in a grid
Message
From
04/12/2002 09:25:41
 
 
To
03/12/2002 16:53:26
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00729167
Message ID:
00729404
Views:
17
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform