>>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 - :)