Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a service pack in the pipe
Message
From
21/02/2004 17:05:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00879242
Message ID:
00879667
Views:
11

Are you saying that VARTYPE is okay when:
VARTYPE(MyForm.Name)==[C]?


I say this:
if
- VARTYPE(m.MyForm)=="O"
and
- m.MyForm is a reference to a VFP object
and
- the object m.MyForm have the property Name
then
- VARTYPE(m.MyForm.Name)==[C] is usable and return a okay value.

Until now, I have not found a adverse proof.

But:
if
- you use VARTYPE(MyForm.Name)
and
- exist ALIAS(nn)='MyForm'
and
- not exist a FIELD(mm,'MyForm')=='Name'
then
- VARTYPE not return "U", but fire a error ( it is a bug ).

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform