Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to store a VFP object in a table?
Message
De
03/12/2007 16:27:55
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01272898
Message ID:
01272918
Vues:
14
>>Does anyone know if it is possible to store an object (based on the empty class) into a table or cursor? If so what field type? If not, any suggestions?
>>
>>TIA
>>Mike
>
>What you have in this object?
>Why you need this?

I have a Person object with a lot of properties (first, last, gender, etc.) that I'd like to persist so that I can add/update the corresponding record(s) in a VFP table. The person object is created and populated in one method by reading an XML file. In another method, I'd like to be able to use this object to do the actual table updates like replace field1 with oPerson.FirstName in tblEmpl.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform