Run MacroOnce Daily on Form Open

A

AccessIM

I have created a macro that will run three separate append queries and want
it to run when a specific form is opened. To avoid duplicates, I only want
this macro to run the first time the form is opened.

Is there a way to limit the number of times to one regardles of the number
of times the form is opened?

Thank you in advance.
 
K

karl dewey

You can have an unbound text box on the form.

Form event 'On Open' run 'Macro_Once_Today' that has condition to check the
text box < Date() to run your append queries. Next action to Set Value text
box to Date().
 
K

karl dewey

Should read --
Form event 'On Open' run 'Macro_Once_Today' that has condition to check the
text box < Date() to run your append queries. Next action to Set Value text
box DEFAULT to Date().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top