Hi
You really need to try at least to not use macros. There is only so much
you can do with them.
Have a go and see what happens like this.
Open you form in design view.
Right click your combo
Open the properties box
In the event coloum select the Got Focus row
Right click and select build (...)
Add this in between the 2 lines on code that are already there
Me.NameOfCombo.DropDown
(Change the NameOfCombo to what it really is)
Save
Now when the combo have the focus it will "drop down"
Hope this helps
--
Wayne
Manchester, England.
- Show quoted text -
Hi, Wayne:
Yes. I'm learning VBA and it's much more powerful than macro. However,
Whenever I run wizard, it generates macro instead of vba (I'm using
Access 2007). Combo box wizard generates one line of macro to find a
record. Command button wizard generates 6 lines of macro to delete a
record. Is there a way to set wizard to generate VBA instead of macro?
If not, is there a way to convert wizard generated macro to vba?