J
J. Trucking
Hello,
I am building an employee timesheet database that will also be
utilized as an invoicing database. Whtat I have is a table/form setup
in which a user enters in an employees time. The employee will spend
the day on various different projects and will write their time sheet
accordingly. The time sheet table/form stores the Employee Name
(EmployeeID), the job they were working on (ProjectID), the hours
worked on that project (HoursWorked), and the cost code for the time
spent (CostCode....their are 50 different cost codes depending on what
the employee was doing such as calculations, construction surveying,
meetings, etc.). What I also have is an 'Invoice' Table/Form in which
a user can create an invoice for any period of time (such as a month)
and bill the client. I started figuring out how I would like to build
this (thinking a subform would work well) but I am running into a road
block. Here's what I'd like to accomplish:
A user creates an invoice and enters in a specific date range over
which they would like to bill. The invoice form will populate with
the appropriate Employee time sheet entries (showing the date worked,
the amount of time, the code, and the billing rate - which comes from
a field in the table that stores the Employee information) for that
project and time period. I am not sure how I would accomplish this as
the Time Sheet table doesnt store the billing rates because they can
frequently change.
Does anybody have any ideas on what would be an effective way to bring
up the data in a way that I can alter it and create an informative
invoice without damaging the TimeSheet records. What about running a
query and then populating a subform which would store the results from
the query in a totally new table... I have no idea how I would do it
but would it work?
Thanks in advance for any advice or help. I would also like to take
this oppurtunity to thank all of those who post to this group. Your
help is greatly appreciated.
John
I am building an employee timesheet database that will also be
utilized as an invoicing database. Whtat I have is a table/form setup
in which a user enters in an employees time. The employee will spend
the day on various different projects and will write their time sheet
accordingly. The time sheet table/form stores the Employee Name
(EmployeeID), the job they were working on (ProjectID), the hours
worked on that project (HoursWorked), and the cost code for the time
spent (CostCode....their are 50 different cost codes depending on what
the employee was doing such as calculations, construction surveying,
meetings, etc.). What I also have is an 'Invoice' Table/Form in which
a user can create an invoice for any period of time (such as a month)
and bill the client. I started figuring out how I would like to build
this (thinking a subform would work well) but I am running into a road
block. Here's what I'd like to accomplish:
A user creates an invoice and enters in a specific date range over
which they would like to bill. The invoice form will populate with
the appropriate Employee time sheet entries (showing the date worked,
the amount of time, the code, and the billing rate - which comes from
a field in the table that stores the Employee information) for that
project and time period. I am not sure how I would accomplish this as
the Time Sheet table doesnt store the billing rates because they can
frequently change.
Does anybody have any ideas on what would be an effective way to bring
up the data in a way that I can alter it and create an informative
invoice without damaging the TimeSheet records. What about running a
query and then populating a subform which would store the results from
the query in a totally new table... I have no idea how I would do it
but would it work?
Thanks in advance for any advice or help. I would also like to take
this oppurtunity to thank all of those who post to this group. Your
help is greatly appreciated.
John