>>Allow a RESTORE FROM STRING which would restore memory variables from a string as opposed to forcing a
>>
>>CREATE Table ( Field M )
>>REPLACE Table.Field WITH String
>>
>>RESTORE FROM MEMO Table.Field ADDITIVE
>
>FWIW, the RESTORE FROM command is wrought with internal problems. If you ever find yourself in the need to do this in a tight loop (SCANning a table and restoring for each record for instance), you had better be prepared for a visit from Dr. Watson. AFAIK, this problem has yet to be addressed.
>
>For equivalent functionality, you might want to look into using Rick Strahl's wwXML class for what you are trying to do. You can create an object from any base class, add properties and set values to your heart's content with AddProperty, and then persist the object to a string with wwXML::ObjectToXML. The object can later be restored with XMLToObject.
That's an excellent suggestion. Thanks.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement