Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Retrive Data/Information From MEM File
Message
De
23/01/2013 12:29:54
 
 
À
23/01/2013 10:21:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01563802
Message ID:
01563836
Vues:
52
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform