G
Guest
I'm working on a form where the users are entering effective periods for
membership (usually calendar year, but it doesn't have to be). In the past,
users have been known to enter duplicate or overlapping contract periods.
Here's the setup:
Table1
AccountNo BeginDate EndDate
1 1/1/06 12/31/06
1 1/1/07 12/31/07
2 6/1/05 5/31/06
They are using a form to enter to contract periods, but I need to validate
the dates they enter and make sure the account is not 'active' for any dates
they enter on the form. For instance, I need to prevent them from entering a
contract period of 3/1/06 - 6/30/06 for Account # 1. To throw another twist
in, the contract period can be longer than 1 year.
Any suggestions?
Thanks in advance.
J
membership (usually calendar year, but it doesn't have to be). In the past,
users have been known to enter duplicate or overlapping contract periods.
Here's the setup:
Table1
AccountNo BeginDate EndDate
1 1/1/06 12/31/06
1 1/1/07 12/31/07
2 6/1/05 5/31/06
They are using a form to enter to contract periods, but I need to validate
the dates they enter and make sure the account is not 'active' for any dates
they enter on the form. For instance, I need to prevent them from entering a
contract period of 3/1/06 - 6/30/06 for Account # 1. To throw another twist
in, the contract period can be longer than 1 year.
Any suggestions?
Thanks in advance.
J