How to populate the value of a Text Box based on the value in a Combo Box in MS Access 2007?

前端 未结 3 668
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-17 01:59

I have a combo box which is of a lookup type, i.e., I\'ve selected the source to be a column from a table and am storing the selected value in another table. The table which

3条回答
  •  情话喂你
    2020-12-17 02:32

    Make the source of the combo box to your 2 fields e.g. SELECT id, name FROM Customers
    Make sure you set the Column Count property of the combo to 2, accordingly.
    Then make you unbound text box source equal to =MyCombo.Column(1) (from memory, this Column is zero based).
    That's it, zero code required.

提交回复
热议问题