Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill combo box with first entry in dropdown box 1

Status
Not open for further replies.

KalEl33

Programmer
May 20, 2002
17
US
How do I automatically fill a combo box with the first selection in the drop down box so that the user does not have to select it?

Thanks in advance!

Kal-El
 
In the form's On Current event put:

cboName = PrimaryKey

Where cboName is the name of your combo box and PrimaryKey is the key field of the record.

The combo box must contain that key field but you can hide it from display by setting its column width to zero. Larry De Laruelle
ldelaruelle@familychildrenscenter.org

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top