Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects Stored in Tables
Message
De
01/05/2001 17:37:30
 
 
À
01/05/2001 17:35:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00502276
Message ID:
00502277
Vues:
24
Check out www.west-wind.com for this wwXML class. It has a method to convert an object to XML, then you can store the XML in a file or memo field.

BOb


>I have a question for those FoxPro Gurus out there. I have created a custom (non visual) class and then created an object based on that class. I want to be able to store that object in a general field or any other field type that would accomodate it. See below for an example.
>
>
>example.
>*************************************
>oMyObject = createobject('NewClass')
>
>create table MyTable (GenFLD g)
>
>select MyTable
>append blank
>replace GenFLD with oMyObject
>
>define class NewClass
> property1 = 12
> dimension myarray[10,2]
>enddefine
>*************************************
>
>Does anyone have any ideas?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform