B
Bob
This is a table where I have to query data from.
# DateRecodEntered RecordStatus StatusDate
1 08/09/03 Updated 08/30/03
2 09/02/03 New
3 09/05/03 Updated 09/10/03
4 09/10/03 Closed 09/20/03
5 09/10/03 Closed 10/02/03
Explanation of entry:
Record Nr.1 was entered on 08/09/03 and updated on
08/30/03.and so on.
I want to retrieve:
Record entered between [Enter start DateRecordEntered]And
[Enter End DateRecordEntered], but exclude those records
where status is Closed and StatusDate falls between the
date user have selected on the criteria.
Let's assume the user select date for September. He will
retrieve record Number 2,3 and 5.
He won't get record Nr.4, because it was closed on Sep.20,
but he will get record Nr.5, because it was closed on Oct,
but entered on Sep.
# DateRecodEntered RecordStatus StatusDate
1 08/09/03 Updated 08/30/03
2 09/02/03 New
3 09/05/03 Updated 09/10/03
4 09/10/03 Closed 09/20/03
5 09/10/03 Closed 10/02/03
Explanation of entry:
Record Nr.1 was entered on 08/09/03 and updated on
08/30/03.and so on.
I want to retrieve:
Record entered between [Enter start DateRecordEntered]And
[Enter End DateRecordEntered], but exclude those records
where status is Closed and StatusDate falls between the
date user have selected on the criteria.
Let's assume the user select date for September. He will
retrieve record Number 2,3 and 5.
He won't get record Nr.4, because it was closed on Sep.20,
but he will get record Nr.5, because it was closed on Oct,
but entered on Sep.