Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp issuing its own 'Cancel' command on hitting a bug!
Message
From
24/06/1999 06:55:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Vfp issuing its own 'Cancel' command on hitting a bug!
Miscellaneous
Thread ID:
00233387
Message ID:
00233387
Views:
55
not even sure I can describe this behaviour coherently. And when it happens, it certainly makes me incoherent!!

example: I have a menu option to choose between Sales and Purchase Orders after the user has selected 'Orders' from the main menu. This works.

I then copy, paste and make the minor amends necessary to do the same thing with sales and purchase invoices.

This doesn't work. The sub menu appears, and immediately bombs out. No error message. Nothing. The program is simply cancelled

When I try to 'trace' the problem, it gets to the line that should run the relevant form and switches to 'Cancel' instead!!

In other words it acts as though I've committed a programming crime so heinous that it can't even bring itself to repeat it in debugging mode so that I might correct it!

I should point out that this is one example. I've had it happen elsewhere and was able to figure out what code it didn't like. This time I can't see the problem (indeed, if I don't bother with a submenu and merely run the form from the main menu choice, everything's hunkydory, so I know its not a problem with the form)

I may or may not need help with the code but thats not the issue. My concern is this undocumented behaviour whereby it flips out of your code and issues its own 'Cancel' instruction without rhyme or reason and without letting you see what is causing the problem, even in the debug window.

Anyone else suffering this? or is this another one exclusive to my own little universe?!

Harry
Next
Reply
Map
View

Click here to load this message in the networking platform