lizcliff
Registered User.
- Local time
- Today, 14:23
- Joined
- Feb 23, 2013
- Messages
- 38
Hi
I will try best to explain what i need if you are able to help me; its, let say taking up a lot of my time trying to figure it myself
I have a dataset of patients being discharged with a SpellEndDateTime and a CompDateTime. Now i need to calculate whether is was 24 hours between SpellEndDateTime and CompDateTime, but if it is a non working day i need to exclude the hours.
so if a patient was discharged on a friday at 3pm i wouldnt expect them to have until saturday 3pm as the deadline for them to be completed, they would have until monday at 3pm to achieve 24 hours or if monday was a bank holiday they would have until Tuesday 3pm - do you see what i mean?
Also whilst searching for answers as well as the coding needed; i have noticed a static table of bank holiday dates would be required (for the UK)? where could i get this from or would i have to create it manually for the next couple of years?
i have to admit i am no genius in access, i can create queries some complex to me (i think) but i have no clue about sql or modules; i have looked around for answers but I'm way over my head trying to digest them.
i appreciate any help given, im sorry if i havent explained myself very well.
thank you
Liz x
I will try best to explain what i need if you are able to help me; its, let say taking up a lot of my time trying to figure it myself
I have a dataset of patients being discharged with a SpellEndDateTime and a CompDateTime. Now i need to calculate whether is was 24 hours between SpellEndDateTime and CompDateTime, but if it is a non working day i need to exclude the hours.
so if a patient was discharged on a friday at 3pm i wouldnt expect them to have until saturday 3pm as the deadline for them to be completed, they would have until monday at 3pm to achieve 24 hours or if monday was a bank holiday they would have until Tuesday 3pm - do you see what i mean?
Also whilst searching for answers as well as the coding needed; i have noticed a static table of bank holiday dates would be required (for the UK)? where could i get this from or would i have to create it manually for the next couple of years?
i have to admit i am no genius in access, i can create queries some complex to me (i think) but i have no clue about sql or modules; i have looked around for answers but I'm way over my head trying to digest them.
i appreciate any help given, im sorry if i havent explained myself very well.
thank you
Liz x