Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in custom method: Nested proceedures.
Message
From
27/12/1999 09:38:09
 
 
To
27/12/1999 09:35:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00308745
Message ID:
00308746
Views:
22
>A co-worker is attempting to set up a method to do error checking on save for a VFP 5.0 Form. He is attempting to alter the wizzard class form to run the method, but is getting this error on save:
>
>Mehtods and events cannot contain nested proceedures or custom classes.
>
>Any ideas on how to make Fox Pro happy?
>

Simple. You can't have the word function in an object method. If the method is called verify data, you need to create a method called VerifyData and put that code in there, sans "function...".
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform