• You can use Reportitem.TextBox1.value to get the value of the text box(named textbox1) then use it a IIF expression like Happy cat suggested.

    alternatively you could take your formula that you use in the the text box and make it into a calculated field then use that in the IIF expression.