Is there any way to hold a global variable after program exit?
public myVar as integer
myVar = 1
Access is then exited and restarted. How do I hold myVar = 1 and not have it destroyed and set to Null upon restart?
I thought of creating a table and holding the variable in the table. Wanted to know if anyone has developed a better system for doing this.
Option 2: Write it to a file.
Option 3: Communicate with a second running process and store it there (this will require creating a second application and being able to communicate with it).
Option 4: Write it to the registry.