2
Answers

Expression syntax for fields in the rdlc file

Photo of David Smith

David Smith

14y
5.3k
1

For my one of my fields in the rdlc file I trying to figure the correct syntax to for for of my fields
Im trying to write to only display values that begin with 1-D for the expression
 
for example
im trying to say something like
display Field!Code.Value who left position does not begin with 'E', How to write this logic.
=First(Fields!Etag.Value <>
'E') but this is the wrong syntax, what is the correct syntax

Answers (2)

0
Photo of Scott Lysle
NA 28.5k 14.4m 16y

            private string Test(byte b)

            {

                  if (b >= 1 && b <= 3)

                  {

                        return "Good enough";

                  }

                  else

                  {

                        return "Out of range";

                  }

            }