Set focus to Combobox

S

Snurre

Hi..

What is the proper code to setfocus to a combobox, this
piece of code don't work....

[Forms]![formname]![comboboxname].SetFocus

snurre
 
F

fredg

Hi..

What is the proper code to setfocus to a combobox, this
piece of code don't work....

[Forms]![formname]![comboboxname].SetFocus

snurre

It works for me.
In which event are you placing the code?
Is the event in the same form as the combo box?
If so, you can use Me!ComboBoxName.SetFocus
 
G

Guest

Hi. thanks

me!comboboxname.setfocus works....

-----Original Message-----
Hi..

What is the proper code to setfocus to a combobox, this
piece of code don't work....

[Forms]![formname]![comboboxname].SetFocus

snurre

It works for me.
In which event are you placing the code?
Is the event in the same form as the combo box?
If so, you can use Me!ComboBoxName.SetFocus
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top