Hey almighty VBA gods.
I'm trying to run an update query on a table from a form and just can't seem to get the syntax right.
I'm sure I'm missing about 20 "s or so. I have no variables declared and this statement is run on a buttons Click event.
To be honest SQL statements wrap my brain in knots :(
Any help out there?
I'm trying to run an update query on a table from a form and just can't seem to get the syntax right.
Code:
DoCmd****nSQL "UPDATE tablename SET tablefield = [Forms]![formname]![formtxtobject] WHERE tablefield = [Forms]![formname]![formtxtobject]"
To be honest SQL statements wrap my brain in knots :(
Any help out there?