Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CmdOkmaint and cmdCancelmaint
Message
De
30/05/2002 08:39:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CmdOkmaint and cmdCancelmaint
Divers
Thread ID:
00662930
Message ID:
00662930
Vues:
48
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
Fil
Voir

Click here to load this message in the networking platform