Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving an object in a table
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00266313
Message ID:
00270175
Views:
27
>Is there any way to store an Object or a collection of them in a table???

Go to www.west-wind.com and download the free wwXML class library. There are two methods... ObjectToXML and XMLToObject. Use the output of ObjectToXML to store in a memo field... then, when you want to get the object back just read the XML from the memo field into XMLToObject().

I believe this will work with a collection object that has an Items array... you just have to set recurse to .t.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform