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

Combo box

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
GB
I have just started looking at Visual Basic so please help!

I have a combo box which the data is being displayed from the dbase. It displays the name, but when I click on a comand button I want a new form to pop up and display some info depending in the id field.

ie in htm

<option value=[id field]>[name field]

how do I pass the option id value to another form!??!?!

Cheers
Tim
 
form2.text = form1.comboBox.list(ItemNumber)
That should work...let me test real quick Rob
&quot;Programming is like art...It makes me feel like chopping my ear off.&quot;
 
Yup, it works ;) Rob
&quot;Programming is like art...It makes me feel like chopping my ear off.&quot;
 
er...typo...
form2.textBox.text = form1.comboBox.list(ItemNumber) Rob
&quot;Programming is like art...It makes me feel like chopping my ear off.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top