K
Ken
Hi all
I have a group of records (200,000+)in the following
format.
EG:
IDCode AttNum DateStart DateFin
123456 334689 10/10/03 12/10/03
123456 334786 13/11/03 16/11/03
123456 335689 18/12/03 20/12/03
234679 334423 20/11/03 22/11/03
234452 233445 01/09/03 22/09/03
234452 235423 10/09/03 15/10/03
I need to know which records have had multiple attendences
and of those with multiple attendences, how many days
between each visit ie DateFin (1st vistit) and DateStart
(2nd visit), etc.
Can this be done using the SQL screen in Access97 or a
macro? The client has none to little VBA knowledge.
I understand the logic behind what I need to do, using a
counter and if/else statements, but am having trouble
putting it into practice as a query/SQL.
TIA
I have a group of records (200,000+)in the following
format.
EG:
IDCode AttNum DateStart DateFin
123456 334689 10/10/03 12/10/03
123456 334786 13/11/03 16/11/03
123456 335689 18/12/03 20/12/03
234679 334423 20/11/03 22/11/03
234452 233445 01/09/03 22/09/03
234452 235423 10/09/03 15/10/03
I need to know which records have had multiple attendences
and of those with multiple attendences, how many days
between each visit ie DateFin (1st vistit) and DateStart
(2nd visit), etc.
Can this be done using the SQL screen in Access97 or a
macro? The client has none to little VBA knowledge.
I understand the logic behind what I need to do, using a
counter and if/else statements, but am having trouble
putting it into practice as a query/SQL.
TIA