D
DumbWithData
I am trying to create an invoice table. This table would include a list of
each employee that worked and their hours, equipment used and its hours, and
materials and their quantities. I know that it would be bad design to have
fields like: employee1, employee2, employee3, employee4, equipment1,
equipment2, etc., but I do not know how to do this otherwise. It seems that
I would need to break this into numerous tables, but I do not know the
relationships these should have…Follow up question: If I can get this to
work, I would also like to be able to make revisions to these invoices
without erasing the original. For example, ‘invoice 1’ would have 10 hours
for a particular employee. Later I decide to change this value, but would
not want to overwrite the previous invoice but instead create a revision…so
now there would be ‘invoice 1’ and ‘invoice 1 rev 1’…is this possible?
each employee that worked and their hours, equipment used and its hours, and
materials and their quantities. I know that it would be bad design to have
fields like: employee1, employee2, employee3, employee4, equipment1,
equipment2, etc., but I do not know how to do this otherwise. It seems that
I would need to break this into numerous tables, but I do not know the
relationships these should have…Follow up question: If I can get this to
work, I would also like to be able to make revisions to these invoices
without erasing the original. For example, ‘invoice 1’ would have 10 hours
for a particular employee. Later I decide to change this value, but would
not want to overwrite the previous invoice but instead create a revision…so
now there would be ‘invoice 1’ and ‘invoice 1 rev 1’…is this possible?