E
Eych
I get a VB error when I try to update a table whose field I change
with the following statement:
dcUpdate.Dataset.Tables(0).Rows(0)("User Name") = Me.textbox1.Text
if I change the field name to "UserName", one word, in the table and
in the statement above, it works...
realistically, I can't do this since the users already have a copy of
this database...
i've tried ("[User Name]"), didn't work...
i've tried using the field number (i.e., Rows(0)(2)), didn't work
even if I don't update that field and update another that is one word,
I still get the error because the statement:
dcUpdate.Adapter.Update(dcUpdate.Dataset, "users")
internally builds an Update SQL that includes the field 'User Name'
and errors...
any guidance?
thanks...
Eych
with the following statement:
dcUpdate.Dataset.Tables(0).Rows(0)("User Name") = Me.textbox1.Text
if I change the field name to "UserName", one word, in the table and
in the statement above, it works...
realistically, I can't do this since the users already have a copy of
this database...
i've tried ("[User Name]"), didn't work...
i've tried using the field number (i.e., Rows(0)(2)), didn't work
even if I don't update that field and update another that is one word,
I still get the error because the statement:
dcUpdate.Adapter.Update(dcUpdate.Dataset, "users")
internally builds an Update SQL that includes the field 'User Name'
and errors...
any guidance?
thanks...
Eych