Hi, I am beginner in Visual Basic. I am doing a simple ADODC project using MS Acces. In that when I add new record to the database it gives me error 'Object Required'.
I tried the same code on different form but it is giving me same error. All the connections seem ok as the data is properly fetched at startup and ADODC control works fine navigating through db.
Please help me. My code is as follows...
Private Sub Form_Load()<br /> Set adoRecordset = New Recordset <br /> Private Sub cmdAdd_Click() <br /> On Error GoTo ErrLabel<br /> adoRecordset.AddNew<br /> Exit Sub <br /> ErrLabel:<br /> MsgBox Err.Description<br /> End Sub