Emohawk
What a wicked mullet...
- Local time
- Today, 03:13
- Joined
- Mar 14, 2002
- Messages
- 79
Hi Folks,
Have a problem that has jinxed me for a while.
I am using a Combo Box to select a customer and in the "On Change" event I have VBA code that takes the value of the user input in the Combo Box and uses it as part of an SQL query to populate various Fields depending on the input.
My problem is this, the "On Change" event is triggered when a new character is typed into the combo box but the value of the combo box does not reflect the addition of this new character.
I.e.
Combo Box Value = -> "A"
Type Letter "B"
OnChange event triggered Code happens using "A" instead of "AB" but Combo Box shows that "AB" is in the field!!!
Whats going on!!!
I'm thinking of a work around of using a On_KeyPress event, capturing the key adding that to the contents of my field THEN executing my code with that value but this seems ridiculous... ARGH!!! Please Help!!!
P.S. I'm using Access97... Is this something perculiar to it?
P.P.S. Just for the record I used to be a member but my username was deleted from the register... Whats going on!?!?!?
[This message has been edited by Emohawk (edited 03-14-2002).]
Have a problem that has jinxed me for a while.
I am using a Combo Box to select a customer and in the "On Change" event I have VBA code that takes the value of the user input in the Combo Box and uses it as part of an SQL query to populate various Fields depending on the input.
My problem is this, the "On Change" event is triggered when a new character is typed into the combo box but the value of the combo box does not reflect the addition of this new character.
I.e.
Combo Box Value = -> "A"
Type Letter "B"
OnChange event triggered Code happens using "A" instead of "AB" but Combo Box shows that "AB" is in the field!!!
Whats going on!!!
I'm thinking of a work around of using a On_KeyPress event, capturing the key adding that to the contents of my field THEN executing my code with that value but this seems ridiculous... ARGH!!! Please Help!!!
P.S. I'm using Access97... Is this something perculiar to it?
P.P.S. Just for the record I used to be a member but my username was deleted from the register... Whats going on!?!?!?
[This message has been edited by Emohawk (edited 03-14-2002).]