When updating values in a Row of a Recodset, which is the 'correct' option:
OrVB Code:
rs.Open sql, CurrentProject.Connection, adOpenKeyset, adLockOptimistic With rs .Update "Project_Title", cboProject_Title.Value .Update "Date_Entered", txtDate_Entered.Value .Update "Title", txtTitle.Value End With rs.Update rs.Close
VB Code:
rs.Open sql, CurrentProject.Connection, adOpenKeyset, adLockOptimistic With rs .Fields("Project_Title") = cboProject_Title.Value .Fields("Date_Entered") = txtDate_Entered.Value .Fields("Title") = txtTitle.Value End With rs.Update rs.Close
Cheers,
Bruce.
