Information générale
Catégorie:
The Mere Mortals Framework
Titre:
CmdOkmaint and cmdCancelmaint
I created a class based on cBizObjmaintenanceform. I added 2 more pages and added a cmdOkmaint and cmdCancelmaint on the third page. Then I added a ClistObjEdit also on the third page. Then I put my business object that is using a parameterized view to populate my gridList.
Everything works fine. I can edit and update a record by clicking the Edit button. The problem is that if I click the cmdOkmaint button. The changes in the records are saved but I don't go back to page 1. I debug the flow and I saw that I was hitting the enabling of page 1 in SetEnabledStatus(.T.) method that is called in the saverecord() method. When the program flow goes back to READ EVENTS, I am still in page 3. Why is that so?
Same thing happens when I click cmdCancel maint. The changes are not saved but I am still in page 3.
Nerissa Dela Rosa
McFadden's
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement