I am sure there’s probably an easy way to do this, but I just don’t know where I would write the code.
In the past, I have used the on load and on open events of a form to do X, Y, or Z… but now, what I would like to do is add a record into a table (with the users windows login ID), at the exact time the user opens the database. I don’t want to do this with a form… I just want a record written to a table immediately at the time the database opens.
My problem is that I don’t know where to do this. Is there such a thing as a database On Load or On Open Event? If so, where do I write the code for such a procedure?
Thanks,
Gary
In the past, I have used the on load and on open events of a form to do X, Y, or Z… but now, what I would like to do is add a record into a table (with the users windows login ID), at the exact time the user opens the database. I don’t want to do this with a form… I just want a record written to a table immediately at the time the database opens.
My problem is that I don’t know where to do this. Is there such a thing as a database On Load or On Open Event? If so, where do I write the code for such a procedure?
Thanks,
Gary