Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with cBizObjNoListMaintForm in MMF 7
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Problem with cBizObjNoListMaintForm in MMF 7
Miscellaneous
Thread ID:
00645772
Message ID:
00645772
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform