Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object to Cursor command?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00420504
Message ID:
00421539
Views:
18
>I'm using this to simply make an exact copy of an object's properties structure (either a class-type object like 'Relation',etc. or a structure-type class that SCATTER NAME... gives me). I'm just using CREATE CURSOR and then SCATTER NAME to get back an exact copy of the structure of the original object. I can then put that exact copy into whatever I need to (simple object reference, object array, etc.) and as many times as I need to. I'm probably taking a speed hit with creating the cursor but it's not big enough to worry about yet considering the problems with having extra object properties.
>
>- A Hilton

Your object is a VFP data object so scatter name works great. I am receiving a C++ data object. In that case the scatter name command takes the active data table I am on and scatters it's properties, not my object.

__Stephen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform