Assuming your table already has the column for the date.... here ya go
Code:
Public Function RecordLoops()
Dim r As DAO.Recordset
Set r = CurrentDb.OpenRecordset("Select * from yourtablename") ' Query or Table records to loop th
'Check to see if the recordset actually contains rows
If Not (r.EOF And r.BOF) Then
r.MoveFirst
r.Edit
Do Until r.EOF = True
'Start code for each record to do here
r.Edit
r![ColumnName] = "whatever you want "
r![ColumnName] = Date ' This will put in today's date... incase you needed it.
r.Update
r.MoveNext
Loop
Else
' if there are no records in the table, you can place something here if you'd like
End If
r.Close
Set r = Nothing
End Function
This will loop thru each record and allow you to add in whatever you'd like on the table. I have to give June7 a big shout out here, he helped me a lot of with this.
I have this as a function just so I can call it from a macro that runs daily.