OldBirdman
Registered User.
- Local time
- Yesterday, 21:27
- Joined
- Jul 14, 2008
- Messages
- 15
Code:
Private Sub cboQuickList_Click()
. . .
Forms!fAAA.cboQuickList.Requery
Forms!fAAA.cboQuickList.Visible = True
Forms!fAAA.cboQuickList.Dropdown
End Sub
Eliminating the second setfocus causes "Run-time Error 2185 - You can't reference a property or method for a control unless the control has the focus." with the .Dropdown statement. "SendKeys {Esc}, True" does various things, but either the errors persist, or the dropdown list does not display.
Stepping through the code is meaningless as the act of stopping the code negates the .Dropdown, and apparently affects the .SetFocus.