display first record of a combo box

SunWuKung

Registered User.
Local time
Today, 06:54
Joined
Jun 21, 2001
Messages
172
Anyone knows how to make a combo box display the first record of its recordsource?

Thanks
SWK
 
On the form's load event, put this:

Me.cboYourCombo= Me.cboYourCombo.ItemData(0)
 
I knew that I have already done this once but now I couldn't find out how it was.
Many thanks for the help.

SWK
 

Users who are viewing this thread

Back
Top Bottom