Solved

Make Combo-box drop down using code

Posted on 2000-03-12
3
227 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now