Hi All
I am attempting to make a bill of quantities database for a self-build project. Its so I can sort out the management side of my house build.
I am now on re-design 3 as I learn more about access, i find better ways of doing the job. I now have various tables with various data sets.
The things I would now like help with would be the calculated field i am using to calculate the quantities.
Because each material is calculated using a different calculation i was intending on using a calculated field with an iif statement
i.e iif(id=1,quantity calc for material1,iif(id=2,quantity calc for material2,0)
However, After doing the first 3 materials it was evident that I needed to change this method to something else as the iff statement was getting stupid.
What I would really like to do is have a calculation field for each material that would allow me to input what variables need to be considered to produce the quantity. Any ideas.
That's my first question!
Second question
How do you go about pulling individual values from specific records in different tables to the one that you are doing the calculation?
for example
I have a questions table which has 2 fields
Questions and answers
I have a variables table which has 2 fields
Variabledesc & variable
I want to take the answer to question 1 and multiply it variable 1. Can I do this and how do I go about it?
I am attempting to make a bill of quantities database for a self-build project. Its so I can sort out the management side of my house build.
I am now on re-design 3 as I learn more about access, i find better ways of doing the job. I now have various tables with various data sets.
The things I would now like help with would be the calculated field i am using to calculate the quantities.
Because each material is calculated using a different calculation i was intending on using a calculated field with an iif statement
i.e iif(id=1,quantity calc for material1,iif(id=2,quantity calc for material2,0)
However, After doing the first 3 materials it was evident that I needed to change this method to something else as the iff statement was getting stupid.
What I would really like to do is have a calculation field for each material that would allow me to input what variables need to be considered to produce the quantity. Any ideas.
That's my first question!
Second question
How do you go about pulling individual values from specific records in different tables to the one that you are doing the calculation?
for example
I have a questions table which has 2 fields
Questions and answers
I have a variables table which has 2 fields
Variabledesc & variable
I want to take the answer to question 1 and multiply it variable 1. Can I do this and how do I go about it?