K
Kimberly
Does anyone know how to reference the value of a combo box
in a form from another form? Any help you can provide is
much appreciated.
Public Sub cmdequipment_Click()
Dim dbMyDB As Database
Set dbMyDB = CurrentDb
Dim rsMyRS As DAO.Recordset
Set rsMyRS = dbMyDB.OpenRecordSet
("tbl_equipmentparts_list", dbOpenDynaset)
rsMyRS.AddNew
rsMyRS!Login_id = Forms!frm_login.Controls!
cboEmployee.Value
rsMyRS.Update
End Sub
in a form from another form? Any help you can provide is
much appreciated.
Public Sub cmdequipment_Click()
Dim dbMyDB As Database
Set dbMyDB = CurrentDb
Dim rsMyRS As DAO.Recordset
Set rsMyRS = dbMyDB.OpenRecordSet
("tbl_equipmentparts_list", dbOpenDynaset)
rsMyRS.AddNew
rsMyRS!Login_id = Forms!frm_login.Controls!
cboEmployee.Value
rsMyRS.Update
End Sub