raghuprabhu
Registered User.
- Local time
- , 16:52
- Joined
- Mar 24, 2008
- Messages
- 154
I have a table with the following fields
surName Text
commDate Date
ceaseDate Date
tableID Autonumber (Key)
The following are some sample records.
surName commDate ceaseDate ID
-------------------------------------------
Prabhu 01-Jan-12 15-Jan-12 1
Prabhu 16-Jan-12 24-Feb-12 2
Prabhu 18-Jan-12 21-Jan-12 3
Prabhu 16-Jan-12 21-Feb-12 4
Prabhu 19-Jan-12 20-Feb-12 5
Prabhu 01-Feb-12 20-Feb-12 6
Prabhu 01-Mar-12 31-May-12 7
Prabhu 12-Apr-12 30-Apr-12 8
Prabhu 15-Jun-12 30-Jun-12 9
I want to design a query named "OverlappingDates" which should show all the records 2 to 8 and another one named "nonOverlappigDates" which should show recrods 1 and 9.
Any ideas?
Thanks in advance.
Raghu Prabhu
Melbourne.
surName Text
commDate Date
ceaseDate Date
tableID Autonumber (Key)
The following are some sample records.
surName commDate ceaseDate ID
-------------------------------------------
Prabhu 01-Jan-12 15-Jan-12 1
Prabhu 16-Jan-12 24-Feb-12 2
Prabhu 18-Jan-12 21-Jan-12 3
Prabhu 16-Jan-12 21-Feb-12 4
Prabhu 19-Jan-12 20-Feb-12 5
Prabhu 01-Feb-12 20-Feb-12 6
Prabhu 01-Mar-12 31-May-12 7
Prabhu 12-Apr-12 30-Apr-12 8
Prabhu 15-Jun-12 30-Jun-12 9
I want to design a query named "OverlappingDates" which should show all the records 2 to 8 and another one named "nonOverlappigDates" which should show recrods 1 and 9.
Any ideas?
Thanks in advance.
Raghu Prabhu
Melbourne.