Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View not updating table
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00228306
Message ID:
00228335
Views:
10
>Hello All [ I hope you all haven't gone to Devcon ],
>I have a form which contains a grid bound to a view, if I run the form directly i.e. do form myform, I can add and delete records to my hearts content and the underlying table gets updated. However if I call the form from another form the underlying table does not get updated. I use these settings on both forms: Default Datasession, view buffering set to Optimistic Table and the form buffering set to Optimistic. The view is used by both forms, I've tried creating a new view for the called form but the problem persists, what am I doing wrong?.
>
>TIA
>
Hi Pete,

Are you sure that both forms have buffering on the view's underlying table? It sounds as if the form that's being called has buffering set to none, with the underlying table using the form's buffer mode, and the view's set to optimistic table. When this form is called from the other form, you have both the table and the view buffered. This would mean that you'd have to commit your changes to both the view and then the table. Make sense?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform