P
Paul
I've got a combo box in a subform datasheet that won't take the first
selection when you're using the mouse. This is a combo box that is bound to
one of three fields in a three field primary key.
When you select by clicking on a value in the dropped box, the combo box
goes into edit mode, and the cell, along with the entire row, is blank. If
you then click the down arrow a second time and make a selection, the row
populates with the new record. There is code in both the Before and After
Update events, and I've even commented out both events to see if something
in there was causing this strange behavior, but it still remained in Edit
mode after the first selection.
If you type values from the keyboard, it behaves normally. That is, once
you type any set of letters that the control recognizes and then press Tab
or Enter, the record populates normally. It only seems to be when you try
to select a record with the mouse that it requires a second selection.
I also noticed that when you make that second selection, you can click on a
different value than you selected the first time, and it will populate the
row with the value you selected the second time.
Any idea what could be causing this strange behavior in the combo box, and
what I can do to restore it to normal behavior, so the user selects a record
with the first click?
Thanks in advance,
Paul
selection when you're using the mouse. This is a combo box that is bound to
one of three fields in a three field primary key.
When you select by clicking on a value in the dropped box, the combo box
goes into edit mode, and the cell, along with the entire row, is blank. If
you then click the down arrow a second time and make a selection, the row
populates with the new record. There is code in both the Before and After
Update events, and I've even commented out both events to see if something
in there was causing this strange behavior, but it still remained in Edit
mode after the first selection.
If you type values from the keyboard, it behaves normally. That is, once
you type any set of letters that the control recognizes and then press Tab
or Enter, the record populates normally. It only seems to be when you try
to select a record with the mouse that it requires a second selection.
I also noticed that when you make that second selection, you can click on a
different value than you selected the first time, and it will populate the
row with the value you selected the second time.
Any idea what could be causing this strange behavior in the combo box, and
what I can do to restore it to normal behavior, so the user selects a record
with the first click?
Thanks in advance,
Paul