none
Is there a way to change the value of a textbox in embeded code?

    Question


  • Hi,

    Is there a way to change the value
    of a text box in embed code?

    I have the following code and get a
    error saying the property is read only, is there a way to set the value of a
    text box in vb?

    public function   tedf(Items as ReportItems, name as String)
    as Boolean
    Items("Textbox18").Value =
    "abc"  ==Read error

    Return False





    end function



    • Edited by Ted Pottel Tuesday, February 28, 2012 3:13 PM
    Tuesday, February 28, 2012 1:57 PM

Answers

  • What are you trying to achieve here? If you just want to check the value in the textbox and update it, you could write a function which inputs the textbox expression and outputs a string. Hence the textbox will have the string you want to display


    Cheers,
    Jason
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

    Some Random Thoughts

    Follow me on Twitter

    Tuesday, February 28, 2012 6:03 PM