Question : Access 2007 use combo box selection to run query

I have a form with a combo box.  The user selects the Etchlot from the list pulled from TableB.
Also in TableB are the Part Number and Work Order I need.
How can I use the Etchlot string selected from the combo box to get and display the matching Part Number and Work Order?  I also want to save Etchlot, Part Number, and Work Order into TableA.
Thanks,
Brooks

Answer : Access 2007 use combo box selection to run query

set the rowsource of the combo to include the three fields

select Etchlot,[Part Number],[Work Order] from TableB

set the following properties
column count 3
bound column 1

in the after update of the combo
private sub comb1_afterUpdate()

me.txt1=me.combo1                'etchlot
me.txt2=me.combo1.column(1) 'partnumber
me.txt3=me.combo1.column(2) 'work order

end sub
Random Solutions  
 
programming4us programming4us