M
mindlike
Seen a few other posts on this error but none that address issue
specifically.
Using this line to update data in Details Table. As many others report,
when I insert quotes, either a double or a single around words, I get the
standard 3075 syntax error. I only need to be able to insert quotes in the
Me.txtDescription field of the form. ANy help on changing code to accomodate
quotes would be greatly appreciated.
Additionally, I've truncated this line of code by leaving out 24 other
fields that update on this form. Any idea on how to write a looping
structure to do updating instead of having to list out each field
individually? I just can find a site that elaborates--mabye not even
possible with an sql statement.
dbs.Execute "UPDATE Details SET CategoryName = """ & Me.cboCategory & """,
Description = """ & Me.txtDescription & """ " & "WHERE DetailsID = " &
Me.txtDetailsID & ""
specifically.
Using this line to update data in Details Table. As many others report,
when I insert quotes, either a double or a single around words, I get the
standard 3075 syntax error. I only need to be able to insert quotes in the
Me.txtDescription field of the form. ANy help on changing code to accomodate
quotes would be greatly appreciated.
Additionally, I've truncated this line of code by leaving out 24 other
fields that update on this form. Any idea on how to write a looping
structure to do updating instead of having to list out each field
individually? I just can find a site that elaborates--mabye not even
possible with an sql statement.
dbs.Execute "UPDATE Details SET CategoryName = """ & Me.cboCategory & """,
Description = """ & Me.txtDescription & """ " & "WHERE DetailsID = " &
Me.txtDetailsID & ""