Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Utility to convert table to a class.
Message
 
 
À
10/10/1999 14:41:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00274695
Message ID:
00274821
Vues:
28
Hmmm, although I knew about SCATTER NAME I've never used it before. You bring up some good ideas I will take a look at. FYI, this thing all started while I was trying to create a VFP COM middle-tier BO that can be accessed from non-VFP front-end.

>He doesn't need to do anything with "adding custom methods programmatically" - he may just have a generic property called record=.null., and then use
scatter name this.record
, and have a generic GetValue and SetValue methods, which would return .null. for nonexistent fields, and .f. for writes into nonexistent fields.
>
>Furthermore, he may have an array of this.records[n], so the object may keep the whole grid (but then why was the table buffering invented at all?).
It's "my" world. You're just living in it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform