get object from Text. get the control textbox and read the screen text value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • royspiegel
    New Member
    • Mar 2013
    • 1

    get object from Text. get the control textbox and read the screen text value

    I have a table of fields and textbox IDs.

    I read the table and then want to be able to evaluate the .text in each record in my table.

    IE Field textbox_Company

    We want the runtime value of textbox_Company .text
    Is there a dynamic way to do this

    Following example is the idea that is not working

    Code:
    dim Mytextbox as Textbox
    
     Dim MySqlCommand As String = "update " & MyReader("table") & " set " & MyReader("Field") & " = '" & Eval(MyTextbox.Text) & "'"
    Last edited by Rabbit; Mar 13 '13, 04:15 PM. Reason: Please use code tags when posting code.
Working...