Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProperty and SCATTER NAME
Message
From
20/08/2004 02:21:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00934678
Message ID:
00934767
Views:
22
>Can I use AddProperty to add properties to record objects
>created with SCATTER NAME?
>
>And, how?

Hi There,
This is just small addition to Cetin's answer;
If u have large number of fields in your table,
instead of creating tem cursor fully in code
u can make copy of it and just add few fields u need...
        select yourCursor
        local arrFields(1)
        =afields(arrFields)
        create cursor ctemp from array arrFields
        alter table alias() add column newField1 C(10)
        alter table alias() add column newField2 C(10)
        scatter name oRec
Rgds++
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform