Hi guys,
I'm doing some simple Access db stuff after many years out of the game. Unfortunately, i've forgotten a lot!
I'm making a simple invoicing database with (currently) two tables with a one-to-many relationship: one Invoice can have many InvoiceItems (and each Invoice Item has a price).
I have an Invoice form with an InvoiceItems subform embedded, which is a continuous form.
My question is pretty simple: should i have 'summed' values derived from simple equations from the 'Totalcosts' as a field in the main Invoice table, or is it not required?
Obviously the user needs to see this information but i guess that doesn't mean that it needs to be in the basic invoice table fields. It could just exist as a form item/control?
I can create a text box and calculate/display this information on the main form, eg i just created a 'total number of items' text box in the main form, so i could just do the same with the amount(s).
My current thought is that it is not necessary for things like 'totalcost' to be in the main Invoice table, as it will always be viewed as a form or a report anyway...? Is there any downside to my line of thought? Or should i be trying to dynamically update the main table cell from the child table?
Thanks for any advice you can give - sorry for such a basic question!
Eddie
I'm doing some simple Access db stuff after many years out of the game. Unfortunately, i've forgotten a lot!
I'm making a simple invoicing database with (currently) two tables with a one-to-many relationship: one Invoice can have many InvoiceItems (and each Invoice Item has a price).
I have an Invoice form with an InvoiceItems subform embedded, which is a continuous form.
My question is pretty simple: should i have 'summed' values derived from simple equations from the 'Totalcosts' as a field in the main Invoice table, or is it not required?
Obviously the user needs to see this information but i guess that doesn't mean that it needs to be in the basic invoice table fields. It could just exist as a form item/control?
I can create a text box and calculate/display this information on the main form, eg i just created a 'total number of items' text box in the main form, so i could just do the same with the amount(s).
My current thought is that it is not necessary for things like 'totalcost' to be in the main Invoice table, as it will always be viewed as a form or a report anyway...? Is there any downside to my line of thought? Or should i be trying to dynamically update the main table cell from the child table?
Thanks for any advice you can give - sorry for such a basic question!
Eddie