Hello,
Can anyone help me out please.
I have some records as below:
RecordID StartDate EndDate
1 1/1/01 4/4/01
2 5/5/01 8/10/01
3 8/11/01 11/10/03
4 11/11/03 12/2/03
These 4 records were added in tblStates table. However, the user goes ahead and delete record #2 and #3 and add a new record with StartDate from 5/5/01 and EndDate to 11/10/02. In this case the user is supposed to type in 11/10/03 for the EndDate for this new record because there cannot be a gap between the date ranges of the records. I am not sure how to trap the user error to make sure the StartDate and EndDate are typed in correctly without gaps between date ranges.
Your help is very appreciated.
Can anyone help me out please.
I have some records as below:
RecordID StartDate EndDate
1 1/1/01 4/4/01
2 5/5/01 8/10/01
3 8/11/01 11/10/03
4 11/11/03 12/2/03
These 4 records were added in tblStates table. However, the user goes ahead and delete record #2 and #3 and add a new record with StartDate from 5/5/01 and EndDate to 11/10/02. In this case the user is supposed to type in 11/10/03 for the EndDate for this new record because there cannot be a gap between the date ranges of the records. I am not sure how to trap the user error to make sure the StartDate and EndDate are typed in correctly without gaps between date ranges.
Your help is very appreciated.