Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu SKIP throwing error Data Type Mismatch
Message
De
23/10/2007 13:43:03
 
 
À
23/10/2007 13:25:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Divers
Thread ID:
01262854
Message ID:
01262869
Vues:
12
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform