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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time ComboBox

Status
Not open for further replies.

darinmc

Technical User
Feb 27, 2005
171
GB
Hi
How easy would it be to populate a combo box with time values using something like
me.combo.RowSource = "Select ........."

Or whichever method is easier and do you have some code?

e.g.
00:00
00:15
00:30
00:45 etc etc

Thx, appreciate it
Darin
 
Sorry, not really sure what you mean?

Value list? and where woud I place / Use It?

Thx
Darin
 
On the property sheet on the data tab for the combo, you will find Row Source Type. If you set this to Value List, you can type in a Row Source, eg:

0.15;0.30;0.45
 
Is there no way to populate it?

Or do I have to write out
0.00
0.15
0.30
....

23.00
23.15
23.30

etc?

Thx
Darin
 
You can create a table quite quickly and use that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top