I have 2 AutoExec macro's that run at a specified time every morning (1am) but 1 of those macros can't be run more then 1 time a day. I found a set up on a previous post that almost solves my problem, but the StopMacro condition gives me a syntax error.
Here's what i have so far...
A table named "tblLastUpdate" with a field "DateUpdated"
A query in the macro which will append that table with the date it runs on. (should this be an append or an update query?)
The Macro condition i found is
DCount("*",tblLastUpdate","[DateUpdated]#="&Date()&"#")=0
but it gives me a missing operator syntax error any help would be wonderful