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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only