Hey there,
I am trying to create a report which can tell me how many guests are in the building at any given time. The data I have shows check-in/out times per day. The data is gathered by a visitor lobby program which checks in/out guests and stores this information in an SQL server. I have the info linked up in crystal reports.
Here is an example of what I am trying to accomplish, using the type of data I am working with:
If three guests checked in & out at the following times:
Guest 1 4/1/2010 CheckinTime: 9:00am CheckOutTime: 3:00pm
Guest 2 4/1/2010 CheckinTime: 12:00pm CheckOutTime: 4:00pm
Guest 3 4/1/2010 CheckInTime: 2:00pm CheckOutTime: 6:00pm
Then the report would tell me:
11:00am-12:00pm = 1 guests in the building
12:00pm-1:00pm = 2 guests in the building
1:00pm-2:00pm = 2 guests in the building
2:00pm-3:00pm = 3 guests in the building
3:00pm-4:00pm = 2 guests in the building
4:00pm-5:00pm = 1 guests in the building
ext, ext..
Any ideas as to how I might accomplish this? Any help is appreciated!
I am trying to create a report which can tell me how many guests are in the building at any given time. The data I have shows check-in/out times per day. The data is gathered by a visitor lobby program which checks in/out guests and stores this information in an SQL server. I have the info linked up in crystal reports.
Here is an example of what I am trying to accomplish, using the type of data I am working with:
If three guests checked in & out at the following times:
Guest 1 4/1/2010 CheckinTime: 9:00am CheckOutTime: 3:00pm
Guest 2 4/1/2010 CheckinTime: 12:00pm CheckOutTime: 4:00pm
Guest 3 4/1/2010 CheckInTime: 2:00pm CheckOutTime: 6:00pm
Then the report would tell me:
11:00am-12:00pm = 1 guests in the building
12:00pm-1:00pm = 2 guests in the building
1:00pm-2:00pm = 2 guests in the building
2:00pm-3:00pm = 3 guests in the building
3:00pm-4:00pm = 2 guests in the building
4:00pm-5:00pm = 1 guests in the building
ext, ext..
Any ideas as to how I might accomplish this? Any help is appreciated!