Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with cBizObjNoListMaintForm in MMF 7
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Problem with cBizObjNoListMaintForm in MMF 7
Divers
Thread ID:
00645772
Message ID:
00645772
Vues:
48
Kevin,

We just upgraded to Mere Mortals 7 and I noticed an issue with cBizObjNoListMaintForm.

Lets say we have a form fOrders. When the user clicks on cmdCancelOrder, a DoForm('fCancelCustomer') is triggered. fCancelCustomer simply gets a value from the user, returns that value to fOrders, and disappears via fCanceCustomer.Hide().

The problem is that if you leave fOrders up, and pull in a new order and click cmdCancelOrder, you get the following error message:

Application Message
Only one copy of this form can be run.

Once you click on the OK button, fCancelCustomer appears in the upper left corner of the screen. If you attempt to interact with this form, you get the following error:

Error #: 11
Message: Function argument value, type, or count is invalid
Line #: 93
Code: llFound = UPPER(This.aChildren[lnRow, CHILD_CLASS]) == tuParm1

It doesn't appear that CHILD_CLASS has been defined.

I have switched back to the previous version of Mere Mortals, and this does not cause any problems - these forms have worked fine with the framework for years...

Attempting to debug this error causes 'Gypsies, Tramps, and Thieves' to play over and over in a neverending loop.

-Justin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform