>Hi
>
>create table cTest(cName c(20),cNumber n(10))
>scatter name oTest
>? type('oTest')
>oTest.Addproperty('cTest')
>
>Obtain the message 'addproperty property not found'
>What type is oTest?
>I'm using scatter and need to add memo fields to object, but addpropterty not work
>What can I do?
>
>TIA
Hi Rodrigo,
The object created with SCATTER NAME is special kind of VFP objects. It has no methods or events and neither .Name nor .Class properties.
You can just add the memo field to your table:
CREATE TABLE cTest(cName c(20),cNumber n(10), myMemo M(10))
and use
SCATTER NAME oTest MEMO
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison