Boolean variable in a module..Is it possible ?

  • Thread starter Thread starter Don Garry
  • Start date Start date
D

Don Garry

Is it possible to change a public boolean value in a module (e.g. blOK as
boolean, blOK = True), close the database, reopen and have the boolean value
in the same state it was left in ?

When I've tested it out it keeps on setting blOK back to false when I
reopen.

I'd sure appreciate any feedback.
 
There are lots of methods for persisting the value. The easiest is probably
in a table.
 
Thanks Duane, I was specifically trying to avoid a table because I'm using a
MDE and am trying to stop anyone from hacking their way into the value.

Anyway of doing it without using a table ?
 
I don't know where you could put it that someone couldn't hack into. You can
hide a table, use the registry, encode a values,... but most methods are not
hack-proof.
 
Back
Top