Hi group,
have problems with combobox-control in a form (access 2003).
I added VBA-Code to on-Change event of the control. If the user choose an
value from the control, the filter of the form change to that value.
so far it works.
problem is, it only works if the user change the (value of the) control
with the mouse. As soon as he starts pressing the keyboard, i get errors.
First i get the usual "Item not in list" messagebox but then i get an
error from the filter to. (trying to apply an useless filter).
Is there an way to check if the control has an useful value at the moment
or if the user is still typing in keys ? I want to fire the
on-change-event of the control only if the value of the control is an
value of it's control-source query.
I try the OnNotInList Function but got nowhere. Can you enlighten me
what to try next ?
thanks,
-Horst