Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving data from instantiated object array
Message
De
03/12/1997 08:42:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00063481
Message ID:
00063541
Vues:
44
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform