Hi All,
I'm trying to write an UPDATE line in VBA, but whenever I put the table name I get an "Expected End of Statement" error.
This is line currently;
It doesn't matter whether I change the table name to square brackets, quotes or nothing at all, it always gives me the expected end of statement error. I can't figure out for the life of me what I'm doing wrong here.
Any thoughts?
Thanks!
I'm trying to write an UPDATE line in VBA, but whenever I put the table name I get an "Expected End of Statement" error.
This is line currently;
Code:
strSQL = UPDATE "MASTER PLANNER" SET [SET 2] = TRUE WHERE "[ID] = " & Me.PlannerID
Any thoughts?
Thanks!