I have a working query which has 3 fields derived from a table - Length, Grade & CDUB, following those fields I have a calculated field which is RAD that contains a formula RAD:=[CDUB]/2, following that another calculated field which contains VOL:=3.141593*[RAD]^2*[Length]/100000.
Now I want the VOL formula to make a choice;
if Grade = P then look for data in another table using the values in Length and CDUB or if Grade is anything else then 3.141593*[RAD]^2*[Length]/100000.
The data in the other table to be looked up has values such as;
Length 8.0, CDUB 2
Length 8.0, CDUB 4
Length 8.0, CDUB 6 and so on, there will be 14 different set lengths and each length has 5 set CDUB ratings so maybe a dlookup would work, this is where I am stuck.
Is this possible?
Cheers
optidisk
Now I want the VOL formula to make a choice;
if Grade = P then look for data in another table using the values in Length and CDUB or if Grade is anything else then 3.141593*[RAD]^2*[Length]/100000.
The data in the other table to be looked up has values such as;
Length 8.0, CDUB 2
Length 8.0, CDUB 4
Length 8.0, CDUB 6 and so on, there will be 14 different set lengths and each length has 5 set CDUB ratings so maybe a dlookup would work, this is where I am stuck.
Is this possible?
Cheers
optidisk