Hello again, i'm still working on this issue. Hopefully someone can continue to help me.
Overview: I concatenated 2 fields MaterialName with MaterialType and called it SampleType (MaterialName - MaterialType), to help users choose in the dynamic parameter.
Now I need to extract the MaterialName and MaterialType to use in the select statement.
I am able to split and extract out the MaterialName and MaterialType from the concatenated SampleType by using split({?PSampleType}[1]," - ")[1].
split({?PSampleType}[1]," - ")[1] gives me the MaterialName from the first SampleType
split({?PSampleType}[1]," - ")[2] gives me the MaterialType from the first SampleType
split({?PSampleType}[2]," - ")[1] gives me the MaterialName from the second SampleType
split({?PSampleType}[2]," - ")[2] gives me the MaterialType from the second SampleType
Could someone help me figure out how to work the array for multiple (>400) SampleTypes instead of hard coding? Some users choose one SampleType, some users will choose many (>400) SampleTypes.
Thanks