Hi, I don't know if anyone else is encountering this, but I could use your help.
I have a form in an Access 2002 database (an MDB) which changes the foreground colors of some of the textboxes when the OnCurrent event is triggered. The purpose of this is to warn users of (non-fatal) inconsistencies in their inputs.
When the PageDown key is held for a short length of time, Access pages through the records, which is its default behavior. But when the key is lifted, the textboxes flicker. So I suspect that the OnCurrent events are being queued in stack space while the updates are performed.
Now, when this action is taken for too long, eventually I get an error message, "Out of Stack Space." Since there is no recursion involved in these procedure calls, I can only assume that the build-up of unhandled events is responsible for the error.
What can I do to prevent this sort of behavior from occuring, short of telling users not to hold down the PageUp/PageDown keys?
I have a form in an Access 2002 database (an MDB) which changes the foreground colors of some of the textboxes when the OnCurrent event is triggered. The purpose of this is to warn users of (non-fatal) inconsistencies in their inputs.
When the PageDown key is held for a short length of time, Access pages through the records, which is its default behavior. But when the key is lifted, the textboxes flicker. So I suspect that the OnCurrent events are being queued in stack space while the updates are performed.
Now, when this action is taken for too long, eventually I get an error message, "Out of Stack Space." Since there is no recursion involved in these procedure calls, I can only assume that the build-up of unhandled events is responsible for the error.
What can I do to prevent this sort of behavior from occuring, short of telling users not to hold down the PageUp/PageDown keys?