MichaelintheUK
Programmer
Please I need to produce output to a query or temporary table based on whether appointments were one offs or covered consecutive days where consecutive days equals 1 appointment.
AA 21/06/2005
AA 22/06/2005
AA 24/06/2005
BB 23/06/2005
CC 24/03/2005
CC 25/03/2005
The result as output should be
AA 2 (i.e. 1 2 day appointment)
AA 1
BB 1
CC 2
I have tried to put together a module but it gives unpredictable results.
thanks
Michael
AA 21/06/2005
AA 22/06/2005
AA 24/06/2005
BB 23/06/2005
CC 24/03/2005
CC 25/03/2005
The result as output should be
AA 2 (i.e. 1 2 day appointment)
AA 1
BB 1
CC 2
I have tried to put together a module but it gives unpredictable results.
thanks
Michael