Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu SKIP throwing error Data Type Mismatch
Message
From
23/10/2007 13:43:03
 
 
To
23/10/2007 13:25:48
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Miscellaneous
Thread ID:
01262854
Message ID:
01262869
Views:
11
>>We have a main menu (.MPR) that randomly throws a Data Type Mismatch on the SKIP clause of the menu pad. The Skip expression is a method call to a global App object. The only thing the method does in this application release is return .F.
>>
>>I have encountered at times when a method or UDF did not return the expected data type, but usually it is easy to track down.
>>
>>Is there any know issues and workaround that may explain this SKIP behaivor?
>
>I'll bet the method isn't behaving as you expect or something. Try adding some DEBUGOUT commands to the menu to see what's really happening.
>
>Tamar

Debugout may help track it down. thanks.

It happen once every hundredth time the pad is clicked. At random, and know means to create steps to reproduce. The only statement in the called method is a RETURN .F.. The method exist in case the client requests tighter security. If so, the inferstructure is already in place.

As I tell users, if you fine a bug, reproduce and write down the steps. Because if I can not reproduce it, and can not be confident that I can fix it. Nor can it be tested as fixed afterware. Sorry the side bar. It may help determine where the actual error is occuring.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform