Accessing Textboxes on the Form

  • I have two textboxes (textBoxA and textBoxB) on a report in addition to the textbox fields populated from the database. TextBoxA derives its value based off one of the field textboxes. TextBoxB derives its value from the result of TextBoxA.

    How can I get textboxB to reference the value of textboxA?

    For example, if textBoxA has the results of three fields added together and I want textboxB to display the squared result on those with an odd number.

    More to the point, how do I reference an object on the report based on the object name?

  • You would do something like this in an Expression.

    =ReportItems!Textbox1.Value

    HTH

    Richard.

  • Thanks. I just wasn't sure what went before the TextBox1.Value

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply