Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoThere are two options.
Plan A
The first is to set up some automated process to create a parent table which has a concatenated key field which combines the employee and the date. Then you can easily have that be a parent to the time entries and get your perfect report.
Plan B is to make a bunch of summary fields on the employee record for
Total Time today
Total Time today -1 (yesterday)
Total Time today -2 (the date before)
etc back say a couple of weeks, assuming that you need this for some kind of payroll purposes.
If you want Plan A, depending on your Quick Base skills we may be able to slowly muddle our way through that on this forum or else it might need an hour of consulting to get it going.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
Plan A
The first is to set up some automated process to create a parent table which has a concatenated key field which combines the employee and the date. Then you can easily have that be a parent to the time entries and get your perfect report.
Plan B is to make a bunch of summary fields on the employee record for
Total Time today
Total Time today -1 (yesterday)
Total Time today -2 (the date before)
etc back say a couple of weeks, assuming that you need this for some kind of payroll purposes.
If you want Plan A, depending on your Quick Base skills we may be able to slowly muddle our way through that on this forum or else it might need an hour of consulting to get it going.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
MattBlankenship
6 years agoQrew Trainee
Hey Mark,
Thanks for your reply.
I am VERY interested in the "Plan A" with automation.
I've got pretty decent Quickbase skills, and am definitely willing and eager to learn more. :)
In my "Time In/Out" table (child table), I'm guessing we will use the "User Name" field and the "HH:MM" duration field.
What fields do I need to make in the "Time Summary" table (parent table).
------------------------------
Matt Blankenship
------------------------------
Thanks for your reply.
I am VERY interested in the "Plan A" with automation.
I've got pretty decent Quickbase skills, and am definitely willing and eager to learn more. :)
In my "Time In/Out" table (child table), I'm guessing we will use the "User Name" field and the "HH:MM" duration field.
What fields do I need to make in the "Time Summary" table (parent table).
------------------------------
Matt Blankenship
------------------------------
- MarkShnier__You6 years ago
Qrew Legend
OK, I will answer in pieces as I'm also dong real work.
We will need a new Parent Table called Employee Days.
Make a Relationship where 1 Employee has many Employee Days.
Can you tell me what is the Key field of the Employees table?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- MattBlankenship6 years agoQrew TraineeI don't have an employee table currently. Since all employees have a Quickbase user ID, I just reference them as a user instead.
Do I need to make an Employee table?
------------------------------
Matt Blankenship
------------------------------- MarkShnier__You6 years ago
Qrew Legend
Yes, for this solution you will need an Employees table. You will set the Key field to be the User.
If you like you can then make a relationship to your Time Entries table based on your current user field as the reference field on the right side of the relationship. - the the choices will come down off a nice drop down that way.
On that Employees Table make a formula text field in the format of List("-", ToText(Userid]), ToText(Today()). Call it [Employee Day for Today]
so it will look like
jsmith@mycompany.com-04-01-20
Then make a saved table to table copy to copy all employees ot the New Table called Employee Days, where the Key field is a text field called [Employee-Day]
Lastly, make a relationship were One Employee Day has Many Time Entries and let it create a reference field.
Then edit that field called Related Time Day and rename it to be called Employee-Day and make the formula be
List("-", ToText(Userid]), ToText([Time Entry Date])
Then you will be able to make a summary field on the relationship on Employee Days to see the total duration.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------