That's what I'm talking about... the problem isn't your dataset... it's your code... I saw the problem, but figured it was a typo, so I didn't want to go down that rabbit hole if I'm after a badger...

You're not using the if function... you're actually using the If keyword. What you DO want is the If function, but you need to use an OPEN PARENTHESIS and a CLOSING PARENTHESIS... you got the closing one....
Code:
<&#37;# if selType="mc","pName","pNameFI") %> 'compare with next line

<%# if (selType="mc","pName","pNameFI") %> 'see the difference?
-tg