Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE won't define
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01396024
Message ID:
01396031
Views:
77
Hi Ian

>Given that the error is a type mismatch the #Define is working or you have a variable named File_Ok defined. My guess is that either the return value of the parent method is not numeric, or not specified at all which would cause it to be logical.
>
>Just check the value of lnRetVal after the DoDefault call and it should be clear.

Thanks I missed that one completely, I check the base classes and yes somewhere in the framework is has this
LPARAMETERS tnRetVal

RETURN
thus like you said converting the value to logical.

Thanks a lot.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform