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.