U
ucdcrush
I am stumped. What I am attempting to do is to write a block of code
that locks certain option boxes, nullifies others, and so forth, based
on the values of some other fields.
I know that I can do this as an afterupdate event for each form object
that affects whether another field should be locked or not. However, I
am trying to do this in one place if possible (i.e. write all the code
for locking or unlocking form objects).
The closest thing I've found is the timer, but while it's functional,
it does strange things appearance wise to the option group buttons,
like leaves them checked until the mouse is run over them.
I have also tried the form_beforeupdate event, but that only seems to
fire when I go to a new record. I want something to check if any
objects on the form have been updated, but without requiring switching
to a new record to fire.
Is there such a thing? By the way, I realize it's not the most
efficient thing programattically, i just want to know if there's a way.
that locks certain option boxes, nullifies others, and so forth, based
on the values of some other fields.
I know that I can do this as an afterupdate event for each form object
that affects whether another field should be locked or not. However, I
am trying to do this in one place if possible (i.e. write all the code
for locking or unlocking form objects).
The closest thing I've found is the timer, but while it's functional,
it does strange things appearance wise to the option group buttons,
like leaves them checked until the mouse is run over them.
I have also tried the form_beforeupdate event, but that only seems to
fire when I go to a new record. I want something to check if any
objects on the form have been updated, but without requiring switching
to a new record to fire.
Is there such a thing? By the way, I realize it's not the most
efficient thing programattically, i just want to know if there's a way.