Hi All,
CJ_London very kindly helped me to build the structure of my database so that I can avoid storing calculated costs with my order records.
I have stored the costs in my database with a date they apply from so I have a series of costs which I can then refer back to using the order date to see what cost I should use at any one time.
My problem is although the above sounds simple enough I could do with a hand to actually query this, please could you provide me with a suggestion?
My table structure is as follows:
Many thanks,
Dan
CJ_London very kindly helped me to build the structure of my database so that I can avoid storing calculated costs with my order records.
I have stored the costs in my database with a date they apply from so I have a series of costs which I can then refer back to using the order date to see what cost I should use at any one time.
My problem is although the above sounds simple enough I could do with a hand to actually query this, please could you provide me with a suggestion?
My table structure is as follows:
Code:
tblExtruderCosts
ExtruderID PK - identifies the extruder
FinishID FK - identifies the finish
Cost - the cost for that finish from that extruder
DateFrom - the date the cost applies from
tblExtHead
ID PK
ExtruderID FK
FinishID FK
Orderdate
Dan
Last edited: