I have the following code in which I am trying to add a new record to a sql server table.<br>I am getting information from textboxs on a form.<br><br><br>Public acnnAdminConnection As New ADODB.Connection<br>Dim arstadminRecordset As New ADODB.Recordset<br><br><br>strConnect = "Driver={SQL Server};Server=FA99STUQ05;UID=l00wmy;PWD=l00wmy;DATABASE=Project100_DEV"<br> <br> With acnnAdminConnection<br> .ConnectionString = strConnect<br> .ConnectionTimeout = 10<br> .CursorLocation = adUseNone<br> .Mode = adModeReadWrite<br> .Open<br> End With<br><br>arstadminRecordset.Open "ProfileArea", acnnAdminConnection, adOpenForwardOnly, adLockOptimistic<br><br><br>Private Sub cmdAddNew_Click()<br>arstadminRecordset.AddNew<br>arstadminRecordset.Fields("Area_ID" = Text1.Text<br>arstadminRecordset.Fields("Area_VC" = Text2.Text<br>arstadminRecordset.Fields("GroupManagerAssociate_ID" = Text3.Text<br>arstadminRecordset.Fields("GroupManagerStartDate_DT" = Text4.Text<br>arstadminRecordset.Fields(4) = 1<br>arstadminRecordset.Fields("Department_ID" = Text6.Text<br>arstadminRecordset.Update<br><br>End Sub<br>Every time I attempt to click add new I get the following error message and vb quits.<br>The Instruction at '0x78001855' referenced memory at '0x00000000'. The memory could not be "read".<br><br>Could anyone tell me what I am doing wrong.I am relatively new to ADO but have done similar things with DAO many times.<br>