G
Guest
Hi,
I am fairly new to Access Vbasic programming.
What I am trying to do is have the 'Change Event' fire when
I enter any text into a text box. The 'Change Event' calls the
code but a problems arises when I start to look at the text entered.
The problem seems to be that the text read in is alway 1 key stroke
behind what is in the text box. For example:
1 - I enter "e" into the text box. The text box contains "e", but the code
detects
a null string when reading the text box contents
2 - I then enter "f", now the text box contains "ef", but the code detects
only "e"
when reading the text box contents
3 - I then enter "f", now the text box contains "eff", but the code detects
only "ef"
when reading the text box contents
What am I missing? Can any one shed some light on this?
Any help is greatly appreciated.
I am fairly new to Access Vbasic programming.
What I am trying to do is have the 'Change Event' fire when
I enter any text into a text box. The 'Change Event' calls the
code but a problems arises when I start to look at the text entered.
The problem seems to be that the text read in is alway 1 key stroke
behind what is in the text box. For example:
1 - I enter "e" into the text box. The text box contains "e", but the code
detects
a null string when reading the text box contents
2 - I then enter "f", now the text box contains "ef", but the code detects
only "e"
when reading the text box contents
3 - I then enter "f", now the text box contains "eff", but the code detects
only "ef"
when reading the text box contents
What am I missing? Can any one shed some light on this?
Any help is greatly appreciated.