Hi everyone,
I've to change a program, and got a problem with a memory file.
The file is loaded at the beginning of the program, and changed
afterwhat with new user's values. Access to data depends of these
memory info. So each time a new user come to see data, he get the
memory file of the last user, and the program bug. If this new user
come a second time, the memory file contain correct info, saved from
his previous visit, and then the data are accesibles.
If I could change this mem file with the good data during a session,
and reload these just as if these were on this mem file, I wouldn't
have more problems. But for now I need my users to log to times...
So I've three questions :
1- I can't see anywhere on the program where is loaded the mem file,
neider when or where is it changed. Is it automatique ? Can I search
through my code by an automatique way the lines of code where is loaded
this file ? (I really didn't find theses lines !)
2-Is that possible to write on this memory file when the user gave me
the "good" info, in order to simulate a "reload" so that the program
could see this "new" info as if it was on the mem file at the beginning
of the program ?
3-I tried to change by hand the infos in this file, but then vfp say
"Memory file is invalid". Is it possible to write on a mem file,
without changing it on a "invalid" mem file ? Is it possible to get the
format of each field, and change the info ? How do we do it ?
I hope I'm clear on what is my problem... I searched througth the net
and google to have answers, but I didn't find a lot of infos... Any
help welcome, and thanks by advance.
Regards.
JR.