Boolean variable in a module..Is it possible ?

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.
 
D

Duane Hookom

There are lots of methods for persisting the value. The easiest is probably
in a table.
 
D

Don Garry

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 ?
 
D

Duane Hookom

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.
 
Top