Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning current content of buffered Views
Message
From
27/09/1996 13:08:05
Paul Baker
Pacific Environmental Services, Inc.
Rtp, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00008663
Message ID:
00008672
Views:
35
>>I have a View which is opened with table buffering in the data environment of my form. The View has been modified but when I perform a SELECT statement on the contents of the View it does not show the modifications. I'm sure this is because I have not yet executed a TABLEUPDATE. In this scenario I don't want to commit the changes to the associated tables. Anyone know how I can extract the buffered data out of a view using a SELECT statement?
>
>Lee
>
>IMHO, you would be playing a dangerous game. You would be using data that does not really exist. If a user decids to rollback or Cancel the input you will have some real problems on your hands. Also consider if the data is only 1/2 entered when you try to retrieve it from the buffer -- your data will be incomplete.
>
>Tom

I understand the risks but here is may scenario:

I have a form containing a list of items (stored in a View). When the user wants to add to the list a "MOVER" form is displayed. The available items for the "MOVER" form is populated from another table. The available items list should only contain items which are NOT already present in the View. Since the user can execute the "MOVER" form and add items multiple times before committing the changes to the View I need to know what is in the buffered View. Hence, my problem.

I know I can walk the table, but I prefer to use a Select. Any suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform