Hi Guys
I am getting runtime error 424, Object required in the following lines of code:
Can anyone please help me ?
Thanks
I am getting runtime error 424, Object required in the following lines of code:
Code:
Private Sub cboRole_AfterUpdate()
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("select * from tblTC_Type where role='" & cboRole.Value & "'")
MsgBox cboRole.Value
[COLOR=red]Me.cboMDForms.Column(0).Recordset = rs.Fields(0).Value[/COLOR]
End Sub
Thanks