when i try to add a record
Private Sub cmdDone_Click()
Dim Rs As New ADODB.Recordset
Set Rs = New ADODB.Recordset
Call ServerConnect
Rs.Open "SELECT * FROM list1", conn, adOpenStatic, adLockOptimistic
Rs.AddNew
Rs!CustomerName = txtName.Text
Rs!ContactNumber = txtContact.Text
Rs!Date = dt.Value
Rs!TimeStart = cmbStart.Text
Rs!TimeEnd = cmbEnd.Text
Rs!Event = cmbEvent.Text
Rs!Guest = txtGuest.Text
Rs!Comment = txtComment.Text
Rs.Update
Rs.Close
conn.Close
End Sub