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

Lookup and return value code

Status
Not open for further replies.

LewisKing

Programmer
Oct 13, 2006
3
US
In my form I have a combo box (Item) with 3 columns
Item, itemnumber, and CaseCost

I have another textbox control named CaseCost.

What i need to have happen is for the CaseCost to populate itself based on whatever item is selected from combobox item. That is, if the user selects Item A,Afterupdate, corresponding CaseCost A is input into the CaseCost Control.
 
You can use the Column property. Numbering starts from zero.

[tt]=Me.Combo.Column(2)[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top