J
Jordan Brice
I have a function called DisableEnable that runs on the
OnCurrent and AfterUpdate events on all my forms. Its job
is to enable/disable certain controls depending on the
task e.g adding a new record disables the next/previous
buttons, and unlocks the appropriate controls for data
entry.
The problem I'm having is that the code only executes
properly either in break mode when I step through the
function manually, or after I load the form, then go to
design mode, and then back to form mode. I can't for the
life of me figure this out, so any help would be most
appreciated.
Thanks in advance
Jordan
OnCurrent and AfterUpdate events on all my forms. Its job
is to enable/disable certain controls depending on the
task e.g adding a new record disables the next/previous
buttons, and unlocks the appropriate controls for data
entry.
The problem I'm having is that the code only executes
properly either in break mode when I step through the
function manually, or after I load the form, then go to
design mode, and then back to form mode. I can't for the
life of me figure this out, so any help would be most
appreciated.
Thanks in advance
Jordan