I'm using Acess 2000 and I would like to have the combo box automatically drop down when I start typing in a number. I found this thread with the answer:
thread736-415985
However, when I run the line
VB gives me a compile error that the cb_phone_lookup.hWnd "method or data member is not found". Do I need to set up a library reference to get this to work? I have the following references:
Visual Basic for Applications
Microsoft Acess 9.0 Object Library
OLE Automation
Microsoft DAO 2.5/3.51 Compatability Library
Thanks in advance!
thread736-415985
However, when I run the line
Code:
Call SendMessage(cb_phone_lookup.hWnd, CB_SHOWDROPDOWN, 1, ByVal 0&)
VB gives me a compile error that the cb_phone_lookup.hWnd "method or data member is not found". Do I need to set up a library reference to get this to work? I have the following references:
Visual Basic for Applications
Microsoft Acess 9.0 Object Library
OLE Automation
Microsoft DAO 2.5/3.51 Compatability Library
Thanks in advance!