Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VarType.Prg does not exist?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00303544
Message ID:
00303550
Views:
52
>In Visual FoxPro 6 SP3, I've just created a form using another developers Class library. There is a right click method in the textbox class with the following code snippet:
>
>IF VARTYPE(This.Value) = "D" .AND. EMPTY(This.Value)
> This.Value = DATE()
>ENDIF
>
>When I went to run a test on the form, I right clicked on the text box and received an error:
>
>File "Vartype.prg" does not exist.
>
>This.Value was empty (it's value was { / / }). Any ideas why VFP would look for an external prg file for an internal command?

Worked ok for me in a simple test ... but I would lose the dots(.) around the ".AND.".

Was the class library compiled in VFP6 SP3?

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform