How would one go about an AddNew in an ADODB recordset for a field whose value is a date IF you want the date to be automatic.
So that if the code looks like this
Dim rst As New ADODB.Recordset
rst.Open"tblEvent", CurrentProject.Connection, adOpenKeyset, adLockPessimistic
rst.AddNew
rst.Fields("Date")=
rst.Update
rst.Close
the rst.Fields("Date") =
What is the correct way to make that pull in the current date?
So that if the code looks like this
Dim rst As New ADODB.Recordset
rst.Open"tblEvent", CurrentProject.Connection, adOpenKeyset, adLockPessimistic
rst.AddNew
rst.Fields("Date")=
rst.Update
rst.Close
the rst.Fields("Date") =
What is the correct way to make that pull in the current date?