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

Update form data after choice in Combo box.

Status
Not open for further replies.

wbg34

IS-IT--Management
Nov 2, 2000
550
US
I have three text fields that get their data from a query based on the value in a Combobox. After I change the combobox value how can I get the three text fields to update?
 
Are the values you need to update part of the combo box's recordsource? If so, you could do the following at the
combo box's on_click event (or any other applicable one).

Me.text0 = me.combo0.column(1)
me.text1 = me.combo0.column(3)
me.text2 = me.combo0.column(4)

This assumes that you want to fill text0 with the second column in the combo box's recordsource - and so forth...

Rollie E
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top