VFP 6.0
My application starts is a screen that I have looking like a toolbar. In the init event I declare a memory variable public and give it a value.
public csr
restore from csr.mem
There are a few buttons on the toolbar that run a few modal forms/screens. when I add a record, exit the screen, and try to launch another form/screen with one of the other buttons, I get an error that says the variable "csr" could not be found.
In the debugger it is there !!
What is going on?
As I remember the "RESTORE FROM" retrieves variables and variable arrays saved in a variable file. Before you can retrieve a variable from a variable file you must issue "SAVE TO". Is the file you are saving the variables named csr.mem?
Thanks in advance or I hope this helps!
[STS]
:>