General information
Title:
How to store objects?
Hello:
I was wondering if anyone knew how to store user defined objects in a table. The objects are defined in Visual Fox Pro as custom classes, and I only need to store the object's properties (which can also be arrays of objects!). Is there any way of doing this in VFP? I use VFP 5.0...
I looked around before posting this, and I was wondering if the General field works, since I think it's only for OLE containers...
BTW, I would need a really FAST acces to the data, and I don't think a General field would do it. So right know I'm including a method in each class that outputs its properties as a string, then I store it in a table, then when I read the table, I have another method which parses the string in order to set the properties of the object that I'm "reading". I think this is a clumsy way of doing it, so I was wondering, do I have a choice? ;)
Thank you!
Roberto Cota Rivas
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only