H
hotrod1952 via AccessMonster.com
I have a query which I have declared two input parameters. Period Start &
Period End. I am using these dates in a query for payroll information. The
Period start should always be a Monday and the Period End should always be
Sunday as that is our current payroll set-up. When I run the query (the query
works now) I would like to have some kind of error handler set up in case a
date for either is not a Monday or Sunday respectively. For example:
If a Date is entered into the Period Start that is not a Monday I would like
a message box to pop up and say "Re-enter correct date for Monday" And have
the code set up to allow me to re-enter a correct Monday date.
Same for the Period End.
Any Ideas on how to set this up?
Period End. I am using these dates in a query for payroll information. The
Period start should always be a Monday and the Period End should always be
Sunday as that is our current payroll set-up. When I run the query (the query
works now) I would like to have some kind of error handler set up in case a
date for either is not a Monday or Sunday respectively. For example:
If a Date is entered into the Period Start that is not a Monday I would like
a message box to pop up and say "Re-enter correct date for Monday" And have
the code set up to allow me to re-enter a correct Monday date.
Same for the Period End.
Any Ideas on how to set this up?