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
Divers
Thread ID:
00304324
Message ID:
00304361
Vues:
26
>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,

I had this about 9 months ago and I found that if I had a bizobject on that page it worked fine. have that bizobj just control the data in the view.

__Stephen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform