Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SAVE TO mem var file?
Message
From
13/07/1998 09:37:15
 
 
To
11/07/1998 03:10:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116188
Message ID:
00116751
Views:
14
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform