Has anyone seen this problem before ?
I have this code that displays a hidden combo box and sets the focus to it
cmbActivityType.Visible = True
cmbActivityType.SetFocus
When the code executes it breaks with the message "Unable to move focus to cmbActivityType.
However if I simply continue executing the code it executes with no problems.
It's almost as if the setfocus is executing before the visible command has finished.?
I have tried putting a 1 second delay betweeen the two code lines but this does'nt work either.
Any Idaes as to what is causing this ??