Use a relation to select table of table restricted parameters
Hi, I have a large number of paints and pigments that I would like to split into more manageable groups. I have been attempting to set this up as either Red, Green ,Blue etc as we can have a huge list otherwise. Also I might want to make this selection by clients colour pallet.
I have table1 as a list of Red paints with other detail (alternative suppliers and paint codes), Table2 is similar for Greens and Blues.
I would like to use another parameter Base_colour it would be (Red,Green,Blue......) to select the table I need and if the colour changes from Red to Blue it will know to look at another table.
I have attempted to create the relation but it isn't working and I can't see how to make creo look to the other table.
I want something along the lines of;
IF Base_colour=Red
Table = Table1
else
if base_colour=Green
Table = Table2
else
Table = Table3
endif
endif
any input would be great on this

