Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SAVE TO mem var file?
Message
De
13/07/1998 09:37:15
 
 
À
11/07/1998 03:10:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00116188
Message ID:
00116751
Vues:
15
>>Here is my code:
>>
>>restore from datapath addi
>>mypath ="c:\one"
>>setpath ="c:\two"
>>save to datapath
>>
>>datapath only contains setpath and not both mypath and setpath.
>>What did I do wrong?
>
>I always use prefixed variables for mem files, eg...
>s_mypath= "dcdcd"
>s_setpath= "scscsec"
>SAVE TO S_Data ALL LIKE S_*
>
>Note always use SAVE TO .... never SAVE ALL LIKE xxxx TO... - the parser doesn't always get it write.
>
>Mem files have distinct advantages over dbf's and ini files at times. Provided the data is something that say only a "master" user ever writes to - like system config data. Or use the MEMO and save to a memo field in the users file.
>The benefits...
>1. You can store arrays. (beats dbfs)
>2. You can store different data types (ini files only store strings)
>
>Again what the others said about multi-user conflicts is a fair comment - horses for courses :-)
>
>HTH
---
Hi David
thanks for your reply - it helps a lot - :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform