I have duplicated the condition in the most minimal way possible.
I made a form with a default textbox and a default command button.
Here is the associated code:
There is nothing else. No initialize code, nothing.
Behavior...
I type "hello" into the textbox and tab out. What I type is displayed as "Exit code: hello".
I type "hello2" into the textbox and only click commandbutton1. I only see "Exit code: hello2". I do not see the second message.
Single step through the code, execution is done after the exit code.
I type "hello2", click the button and only the exit code runs. Click the button again, it does run.
I have an update where I am playing around...
This seems to be the direction that I need to go:
Bookmarks