M
Maria
Hi,
I have created an autoexec macro that runs every time the database is
opened. However, I only want the macro to run just once daily. I know that
there is a way to do this by running code attached to autoexec that checks
if the macro has been run and updates a field in a table with the date that
the macro ran and checks it against todays date and does not run again until
the following day. I don't know how to write code, and I can't seem to
figure this out. Can someone let me know how to go about doing this? Thanks.
Marie
I have created an autoexec macro that runs every time the database is
opened. However, I only want the macro to run just once daily. I know that
there is a way to do this by running code attached to autoexec that checks
if the macro has been run and updates a field in a table with the date that
the macro ran and checks it against todays date and does not run again until
the following day. I don't know how to write code, and I can't seem to
figure this out. Can someone let me know how to go about doing this? Thanks.
Marie