Quantcast
Viewing latest article 7
Browse Latest Browse All 15

Answer by Kevin Feasel

You can use the IIF command on your textbox. Right-click the textbox and select Expression, and then type in: =iif(Fields!Field1.Value="0", "N/A", Fields!Field2.Value / Fields!Field1.Value) That way, if Field1 is 0, you will return "N/A"; otherwise, it performs the calculation and returns the result.

Viewing latest article 7
Browse Latest Browse All 15

Trending Articles