R
RobertG
Hi all,
I have a report that is run from the OnClick event of a command button.
When this occurs, a query is ran that updates the UserID and ReportDate in
tblReportHistory with their respective values.
What I would like to do is display a msgbox if the last time the report was
run was before the 16th of the current month.
I know I need to check for the current date, date the last time the report
was run, and compare the two. I'm thinking I need to use the DateSerial
function to achieve my goal, but I have no idea how to do so.
Any help/suggestions?
Feel free to ask for additional info, if needed!
Robert
I have a report that is run from the OnClick event of a command button.
When this occurs, a query is ran that updates the UserID and ReportDate in
tblReportHistory with their respective values.
What I would like to do is display a msgbox if the last time the report was
run was before the 16th of the current month.
I know I need to check for the current date, date the last time the report
was run, and compare the two. I'm thinking I need to use the DateSerial
function to achieve my goal, but I have no idea how to do so.
Any help/suggestions?
Feel free to ask for additional info, if needed!
Robert