I have been all over and haven't been able to find a solution to this. I am using Crystal Reports 2008 reporting from a SQL database. I work in a pediatric OR and I need to report on all cases done over the weekend.
In this case a weekend is defined as from Friday, 15:15 hrs to Monday, 07:00 hrs. Any procedure performed within that time period is automatically classified as an emergency procedure.
Now I have no problem with the days. I could easily report on Saturday and Sunday or whatever 24 hour period but it's starting the search at 15:15 on Friday and cutting it off at 07:00 on Monday that I can't get.
The field with the date is actually a DateTime field which would make it easy except that the times aren't actually entered so they're all 00:00:00. And the field with the procedure times is actually a number field.
Any help would be greatly appreciated! Thanks
In this case a weekend is defined as from Friday, 15:15 hrs to Monday, 07:00 hrs. Any procedure performed within that time period is automatically classified as an emergency procedure.
Now I have no problem with the days. I could easily report on Saturday and Sunday or whatever 24 hour period but it's starting the search at 15:15 on Friday and cutting it off at 07:00 on Monday that I can't get.
The field with the date is actually a DateTime field which would make it easy except that the times aren't actually entered so they're all 00:00:00. And the field with the procedure times is actually a number field.
Any help would be greatly appreciated! Thanks