I have used a table called 'RunOnce' that stores the date that a macro, query or some instruction has run. You create an insert query into the table, specifying the field, entering the date like this:
CurrentDb.Execute "INSERT INTO tbl_RunOnce ( DateRun ) Select #" & Date & "#"
Just...