Solved

Make Combo-box drop down using code

Posted on 2000-03-12
3
249 Views
Last Modified: 2011-09-20
Can I make a combo-box "drop- down" by using code? Like it does when the "select and item from the list" message appears after the notintlist event?
0
Comment
Question by:pbetts
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
BrianWren earned 100 total points
ID: 2610835
In code for the form with the combo on it, (let's say it's called cboData), use

     Me!cboData.Dropdown

If the combo is on a form and the code is not part of that form, (let's say the form is called frmData), use

    Forms!frmData!cboData.Dropdown

If the cobo is on a subform, and the code is part of the main form, and the control with the subform in it is called ctrlSubform, use

    Me!ctrlSubform.Form!cboData.Dropdown

Brian
0
 

Author Comment

by:pbetts
ID: 2610960
Thanx Brian...much appreciated
cheers from Oz
0
 

Author Comment

by:pbetts
ID: 2610964
hmmm... that was supposed to be 100points Brian..i'll have to throw you a lollly for another 90 :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question