I have been trying to figure this out for a few hours now, and I am still getting my rear kicked.
I have three tables with the following columns:
MoldReq
- Mold_No
- Part_Name
- Part_No
- Material
- Date
- Work_Ord(Pri Key)
MoldLog
- Log_ID
- Mold_No(Pri Key)
- Part_Name
- Log_Date
- Time_In
- Time_Out
- Hours
Molds
- Mold_No(Pri Key)
- Part_Name
- Part_No
I am trying to build a form in the MoldReq section so when the user selects the mold number(combo box) it will auto populate the Part_Name and Part_No fields by pulling the data from the Molds table.
I have tried following this video where I create a change event:
Code:
Private Sub cboCombo31_Change()
Me.txtPart_Name.Value = Me.cboMold_No.Column(3)
Me.txtPart_No.Value = Me.cboMold_No.Column(4)
End Sub
Any help would be greatly appreciated.