I have a report (8.5) that is looks like this:
EXAMPLE 1
GROUP 1: Client ID: 222-22-2222
DETAIL:Updated:01/01/04 Moved: 12/20/03 Address: 123 Elm St
DETAIL:Updated 02/01/04 Address: 123 Elm St
DETAIL:Updated 03/01/04 Address: 123 Elm St
DETAIL:Updated 04/01/04 Moved: 03/15/04 Address: 111 Oak Ave
EXAMPLE 2
GROUP 1: Client ID: 222-22-2222
DETAIL:Updated:01/01/04 Address: 999 Maple
DETAIL:Updated 02/01/04 Moved: 01/20/03 Address: 111 Oak Ave
DETAIL:Updated 03/01/04 Address: 123 Elm St
DETAIL:Updated 04/01/04 Address: 123 Elm St
What I am trying to do is count clients that have a move date in their LAST address record - like Example 1. Client records may have an earlier move date but none in their last address record - Example 2. OR client records could have no move dates at all (which means they have never moved). I want to count client records like Example 1 but not Example 2.
Thanks!
EXAMPLE 1
GROUP 1: Client ID: 222-22-2222
DETAIL:Updated:01/01/04 Moved: 12/20/03 Address: 123 Elm St
DETAIL:Updated 02/01/04 Address: 123 Elm St
DETAIL:Updated 03/01/04 Address: 123 Elm St
DETAIL:Updated 04/01/04 Moved: 03/15/04 Address: 111 Oak Ave
EXAMPLE 2
GROUP 1: Client ID: 222-22-2222
DETAIL:Updated:01/01/04 Address: 999 Maple
DETAIL:Updated 02/01/04 Moved: 01/20/03 Address: 111 Oak Ave
DETAIL:Updated 03/01/04 Address: 123 Elm St
DETAIL:Updated 04/01/04 Address: 123 Elm St
What I am trying to do is count clients that have a move date in their LAST address record - like Example 1. Client records may have an earlier move date but none in their last address record - Example 2. OR client records could have no move dates at all (which means they have never moved). I want to count client records like Example 1 but not Example 2.
Thanks!