Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if an object exists
Message
 
 
To
12/05/1998 09:20:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098172
Message ID:
00098906
Views:
38
Dragan,

I don't think you can scatter to a property that has beeb assigned a type like C or L or N. So it just takes giving the custom property a value of .NULL. on the property sheet.

At first SCATTER NAME seemed like a really cool thing from a FP2.x viewpoint, but the data buffering it's not really needed in day to day forms. It can be handy though in creating a packaged object to pass table rows around as object entities.

>Tried (having adjusted field names for a table of mine) and - is this the only way to get it to work? I mean, defining a null property in a class and scattering into it. I've tried .addobject() to a form, and some things more, but none of them was acceptable as a name to scatter to.
>
>I'll play around it some more, may be useful for something. I've had an idea of making an array of these to keep memory images of the child records in a grid, so any recalculation could be performed on the array instead... I probably won't do it that way at all, but the idea seemed worth thinking over at first. Sometime it may be a valuable ace in my sleeve - having a spare technique never hurts.
>
>Thanks anyway - I'd never have found this alone. VFP is to large for any single programmer to find all of its back corners.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform