I have a table with 13 fields:
Table 1
PD1_val
PD2_val
PD3_val....etc
I have another table holding a value e.g. 4 (Table 2)
I want to run a query that says, if the value in Table 2 is 4, then return the data in PD4_val from Table 1.
I can do it with a nested if - but it needs 13 if's nested which makes the expression builder too long.
Is there an easier way to do this at all ?
Thanks for any help
Table 1
PD1_val
PD2_val
PD3_val....etc
I have another table holding a value e.g. 4 (Table 2)
I want to run a query that says, if the value in Table 2 is 4, then return the data in PD4_val from Table 1.
I can do it with a nested if - but it needs 13 if's nested which makes the expression builder too long.
Is there an easier way to do this at all ?
Thanks for any help