Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate handled automatically through framework
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
TableUpdate handled automatically through framework
Divers
Thread ID:
00304324
Message ID:
00304324
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform