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

Force a combo-box to display a particular row????

Status
Not open for further replies.

BlindPete

Programmer
Jul 5, 2000
711
US
How do I force the combo box to display a particular row.

The combobox is not bound, and has multiple columns. The first column is related to the current record, but I can't seem to make it display the appropriate row in the combo box. Any ideas?

Pete
blindpete@mail.com

What your mother told you is true! You will go blind! (from moonshine anyway)
 
If the vlaues in the comob box are and exact match then simply put this in the forms "on_current" event.
me!Combo1= some value on the form

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Make the columns that you don't want to see 0" so they will essentially disappear.
 
Thanks All... II'll try it out.

My cbo is unbound with 2 columns. 1 column can be directly realated to the current record. That column is not displayed(by design) what I want to do is display the info in the 2nd column. I'll try the on_current event.

Thanks again!

Pete
blindpete@mail.com

What your mother told you is true! You will go blind! (from moonshine anyway)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top