I have a table which records attendance for staff. Each record represents one day per staff.
NAME ATTCODE DATE etc etc
I want to find a way of grouping the records for a type of attendance code, where records are chronologically sequenced. I wish to find for example how many instances a person was sick, (e.g. sick for one day = once, sick for 3 days in a row = twice) - rather than count how many individual days sick per person.
Appreciate any ideas. I do have a way of doing this but is very long winded with many queries etc.
NAME ATTCODE DATE etc etc
I want to find a way of grouping the records for a type of attendance code, where records are chronologically sequenced. I wish to find for example how many instances a person was sick, (e.g. sick for one day = once, sick for 3 days in a row = twice) - rather than count how many individual days sick per person.
Appreciate any ideas. I do have a way of doing this but is very long winded with many queries etc.