B
Brian
I have a Boolean variable called "CompleteFlag" that I use privately in each
form's module. It's name is probably self-explanatory: I just set it to False
in BeforeUpdate (and other events), then run through a procedure that checks
the form for completeness and sets the value to True. This prevents updates
to incomplete records while not exposing the system messages to the user.
Since I use the same variable name in each module but it is not actually
shared among modules, I have debated making it a public variable just so I
don't have to declare it in each mod's declarations but can instead declare
it once globally.
Good idea / bad idea?
form's module. It's name is probably self-explanatory: I just set it to False
in BeforeUpdate (and other events), then run through a procedure that checks
the form for completeness and sets the value to True. This prevents updates
to incomplete records while not exposing the system messages to the user.
Since I use the same variable name in each module but it is not actually
shared among modules, I have debated making it a public variable just so I
don't have to declare it in each mod's declarations but can instead declare
it once globally.
Good idea / bad idea?