K
Ken Snell [MVP]
Drop the quotes around the variable name.
Data1.Recordset.Fields(strparts).Value = txtpart.Text
Also, you don't want to use .Text (the control must have the focus to use
..Text). Use .Value instead.
Data1.Recordset.Fields(strparts).Value = txtpart.Text
Also, you don't want to use .Text (the control must have the focus to use
..Text). Use .Value instead.