Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Retrive Data/Information From MEM File
Message
From
23/01/2013 12:29:54
 
 
To
23/01/2013 10:21:13
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01563802
Message ID:
01563836
Views:
53
>I am Trying a old Clipper application To VFP and encountered with a Problem.
>
>The old application uses some code like
>
>mm_ssaback:= .F.
>mm_zone:= "00"
>
>save all like MM_* to SANCHAR && The data is stored in Sanchar.MEM file
>
>I want to read the data from Sanchar.MEM so that I could work accordingly.
>
>Kindly Guide:-
>
>1) how to read/retrieve data from the above sanchar.mem file
>2)in case I want to update sanchar.mem so that it can be further used in my clipper only, how to do that
>
>Regards
>Harsh


You can use RESTORE FROM SANCHAR to get it back into memory variables, but it will overwrite anything which matches variables already defined. I also wrote a utility that parses it externally as a text file. https://github.com/RickCHodgin/SaveToParser. See the test\ directory for sample use.
Previous
Reply
Map
View

Click here to load this message in the networking platform