That did it of course.
Thanks again Sergey!
Tracy
>Tracy,
>
> The check if variable is an array implemented in struct.vcx works relaibly for variables but may fail for object properties. You can change following line in "structmember" class Init method
>*** To
> .lIsArray = Type("ALEN(m.toStruct." + .cProperty + ")") = 'N'
>
I didn't test it but you get an idea.
>BTW, Flags is reserved word in VFP8.
>
>
>>VFP8 Windows 2000 SP3. I receive the error 'Flags is not an array' when I run the code below. It bombs out at the following:
>>
>>If .lIsArray
>> lnEls = ALen(m.toStruct.&lcProperty) && on this line it bombs
>>
>>Does anyone know what is going wrong?
>>
>>This works correctly in VFP7.
>>
><snip>
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"