Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving data from instantiated object array
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00063481
Message ID:
00063541
Views:
49
>I have an array of a class object that has a lot of
>properties. Is there any way that those can be saved
>to disk? I can do it in VC++. In VFP I am resetting the
>values from tables each time I run the program.
>
>Gary

Gary,
VFP does not have any native way to write a VFP object to a file. Dumping the properties to and from a table is probably your only answer.

You could write Load and Save methods in you base objects and dump the properties to a memo field.

Some way to dump and load a VFP object into/out of a general field would work also. Maybe someone has an idea?

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform