Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate handled automatically through framework
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
TableUpdate handled automatically through framework
Miscellaneous
Thread ID:
00304324
Message ID:
00304324
Views:
64
I've got a form that has a multiple page pageframe on it (based on cBizObjMaintenanceForm). I've got my primary bizobj on the main form, not in the pageframe. On page 5 I've got a child bizobj that opens a table-buffered view.

I can select an option off the first page, go to page 5 which display what amounts to the lines of an invoice. Everything works OK on the page. I added an OK and CANCEL button to page 5 to allow the user to cancel any changes they might make. The problem I'm running into is when I make a change to the lines, then move back to the first page it prompts me to save my changes (actually, that's not the problem). I click on Yes, then select a new record off the first page, go back to the 5th page and it bombs with "Table buffer contains uncommitted changes".

I've checked to make sure my child object is set-up to save changes when the primary object saves them. It seems like this should be something the framework should handle. Do I have to do something else to make it work? Am I missing something stupid? Or should I just put the code to check for changes/Update in the Deactivate method of the page?

Thanks,
-Paul

RCS Solutions, Inc.
Blog
Twitter
Next
Reply
Map
View

Click here to load this message in the networking platform