Protected Sub SmartDBView1_ValuesExtracted(ByVal sender As Adillis.SmartDBForms.SmartDBView, ByVal e As Adillis.SmartDBForms.SmartDBViewExtractedArgs) e.Values("Room Code") = CType(sender.FindControl("RoomCodeTextBox"), TextBox).TextEnd Sub