Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 wish list - RESTORE FROM STRING
Message
De
08/03/2000 14:57:53
 
 
À
08/03/2000 00:22:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00342916
Message ID:
00343393
Vues:
25
>>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
Fil
Voir

Click here to load this message in the networking platform