This snippet originally supplied by CimperialiCode:For Each ctl As Control In Me.Controls 'if textbox If TypeOf ctl Is TextBox Then 'This assumes that all entries are string/text (Not dates, Numeric, Boolean etc.) strData = ctl.Text.ToString() End If Next




Reply With Quote