Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddProperty and SCATTER NAME
Message
De
20/08/2004 02:21:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00934678
Message ID:
00934767
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform