pr2-eugin
Super Moderator
- Local time
- Today, 03:24
- Joined
- Nov 30, 2011
- Messages
- 8,487
Hello there, I need some help with designing this database, I am now involved in designing a DB for tracking attendance of agents. At the moment there are 9 agents. The manager will use an Unbound Form to add the hours worked by each agent, for the particular day of the week.
I created a table with the following structure,
This was not really a good idea to begin with, but I found this more appealing, as this will reduce the number of row entries, but my manager wants to run a report on a day by day basis, this will only be running on a WEEK by WEEK basis.. So this is not really helping out. I am back to ground ZERO. I cannot think of a better design..
In simple words, I would like to add agent's working hours on a day by day basis.. So is this the only way to do this?
If the above description is not helping, please let me know I will try to explain..
I created a table with the following structure,
Code:
[B]
ATT_ID [/B]||[B] AGENT_ID_fk [/B]||[B] WK_NO [/B]||[B] Mon_Day[/B]||[B] Tue_Day [/B]||[B]Wed_Day [/B]||[B]Thur_Day [/B]||[B]Fri_Day [/B]||[B] WK_Start_Date[/B]
In simple words, I would like to add agent's working hours on a day by day basis.. So is this the only way to do this?
Code:
ATT_ID AGENT_ID_fk Working_Hours WorkDate
1 83 7.5 08/10/2012
2 89 7.5 08/10/2012
3 3 7.5 08/10/2012
4 87 7.5 08/10/2012
5 9 7.5 08/10/2012
6 88 5.5 08/10/2012
7 83 7.5 09/10/2012
8 89 7.5 09/10/2012
9 3 7.5 09/10/2012
10 87 7.5 09/10/2012
11 9 7.5 09/10/2012
12 88 5.5 09/10/2012