Show/Hide table based on expression

i want to show or hide a table based on an expression.  This is not working for me.  It is ALWAYS showing

=IIf(InStr(First(Fields!TransmittalNumber.Value, "DataSet1"), "P") > 1, True,False)

WHY???
vbnetcoderAsked:
Who is Participating?
 
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Why not just say

=InStr(Fields!TransmittalNumber.Value, "C") > 1
0
 
vbnetcoderAuthor Commented:
ACtually, I am using this:

=IIf(InStr(Fields!TransmittalNumber.Value, "C") > 1, True,False)
0
 
vbnetcoderAuthor Commented:
ty
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.