kbrearey
MIS
- May 7, 2009
- 10
Hi Everyone!
I am fairly new to Crystal Reports and am trying to figure out a way to group data in a specific way. What I need to get is a count of records that have a specific attribute set to a specific value and I need to have this count done in half hour intervals. My thoughts here are that I need to somehow be able to group by those half hour intervals. The DB that I am working with does not store dates/times as DATETIME data types, rather as separate integers in the following format:
Date: MMDDYYYY
Time: HHMMSS
I am not concerned with the date, because I can set the date as a group in and of itself. What I really need is a way to group not just by the time, but by the half hour interval of time.
I know that I will need to somehow compare the values for HH and make sure they are the same and MM and make sure they are between either (00 and 29) or (30 and 59), but I can't seem to get my head around how to do this. Any thoughts?
Thanks in advance to everyone!
I am fairly new to Crystal Reports and am trying to figure out a way to group data in a specific way. What I need to get is a count of records that have a specific attribute set to a specific value and I need to have this count done in half hour intervals. My thoughts here are that I need to somehow be able to group by those half hour intervals. The DB that I am working with does not store dates/times as DATETIME data types, rather as separate integers in the following format:
Date: MMDDYYYY
Time: HHMMSS
I am not concerned with the date, because I can set the date as a group in and of itself. What I really need is a way to group not just by the time, but by the half hour interval of time.
I know that I will need to somehow compare the values for HH and make sure they are the same and MM and make sure they are between either (00 and 29) or (30 and 59), but I can't seem to get my head around how to do this. Any thoughts?
Thanks in advance to everyone!