Hi guys,
I'm writing an application using crIX and a ms access database. I'm new to CR so please bear with me and forgive any obvious mistakes
The report I am writing will show how long a person has been in work, ie total number of hours, minutes seconds between them logging in at the start of the day and logging out at the end of the day.
what would be the record selection formulae to use to display this kind of information on a crystal report?
Events are stored in one access database table called 'Accessevent' which is set up as follows:-
Eventid (PK)
Employee name (text)
Eventtime (datetime)
Eventtype(number)
when an employee logs in, a record is created with an eventtype of 1. when they log out, another record is created but with an eventtype of 2. Date and time of each event is stored in each record in the Eventtime field.
I want to be able to display the employee's name, the time they logged in and the time they logged out, with a total time field showing how long they were logged in.
What would be the best way to achieve this bearing in mind that the login and logout events are in two different records? how can i link the two events together so that a log in eventtime is linked to the correct log out eventtime for that day?
What would the report selection formula be?
Thanks in advance for all your help.
I'm writing an application using crIX and a ms access database. I'm new to CR so please bear with me and forgive any obvious mistakes
The report I am writing will show how long a person has been in work, ie total number of hours, minutes seconds between them logging in at the start of the day and logging out at the end of the day.
what would be the record selection formulae to use to display this kind of information on a crystal report?
Events are stored in one access database table called 'Accessevent' which is set up as follows:-
Eventid (PK)
Employee name (text)
Eventtime (datetime)
Eventtype(number)
when an employee logs in, a record is created with an eventtype of 1. when they log out, another record is created but with an eventtype of 2. Date and time of each event is stored in each record in the Eventtime field.
I want to be able to display the employee's name, the time they logged in and the time they logged out, with a total time field showing how long they were logged in.
What would be the best way to achieve this bearing in mind that the login and logout events are in two different records? how can i link the two events together so that a log in eventtime is linked to the correct log out eventtime for that day?
What would the report selection formula be?
Thanks in advance for all your help.