Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 wish list - RESTORE FROM STRING
Message
From
08/03/2000 00:22:37
 
 
To
07/03/2000 15:57:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00342916
Message ID:
00343138
Views:
24
>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.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform