combobox and oldvalue

  • Thread starter Thread starter microsoft
  • Start date Start date
M

microsoft

hi im wondering if any one can help me here.

my form has an on screen keyboard with 1 text control and 1 combobox
for the text control im useing the following code Me.Employee.Value =
(Me.empPIN.OldValue & "9")
this works great. if i try useing the oldvalue on a combobox it doesnt work!
it just replaces the exsisting character!
the reason for an onscreen keyboard is to use it on a touch screen pc (with
no keyboard)
and the reason why i want to use a combobox is because its "predictive
element"
is there a property that i can use on a combo for this?

thanks in advance

john
 
I don't fully follow what you are doing, but a few comments that may point
you to the problem.

1) The OldValue won't be different than the current Value of the combobox
until the box Updates. This won't happen until you press Enter or leave the
combobox. Just typing in the box and having it Auto Expand (predictive
element) won't cause this.

2) If the combobox has multiple columns, the Bound Column will be the value,
which may not be the visible column.

3) In what Event are you trying to do this?
 
Back
Top