Is there a way to return the value from another table that is the field name of the value of the current table.
EXAMPLE -
Table 1:
ID SFTYPE
1 CARPET
2 ALLFLOOR
3 WOOD
Table 2:
ID CARPET ALLFLOOR WOOD
1 500 750 125
2 350 550 75
If I were to lookup ID 1 from table 1, I would want the value of 500 and for 2 I would want the value 550. The SFTYPE is the lookup field for Table 2.
Any assistance would be greatly appreciated. Thanks.
EXAMPLE -
Table 1:
ID SFTYPE
1 CARPET
2 ALLFLOOR
3 WOOD
Table 2:
ID CARPET ALLFLOOR WOOD
1 500 750 125
2 350 550 75
If I were to lookup ID 1 from table 1, I would want the value of 500 and for 2 I would want the value 550. The SFTYPE is the lookup field for Table 2.
Any assistance would be greatly appreciated. Thanks.