I was doing this on a form to use a keydown event
If ActiveControl.ControlType = acComboBox Then
Well for some reason in a different database it would not work.
It must have been a library or someting because when I replaced it
with this
If ActiveControl.ControlType = 107 Then
it worked fine.
I found this list of codes for the control types and now I can't find
it anywhere.
can someone tell me where the list might be found...I would have sworn
I found it in the access help but not any more.
Internet maybe?
thanks for any help