CurrentDb.Execute "UPDATE RoomID IN APPENDAGES WHERE (RecID = " & SelectID & " AND RetYear = " & """" & gblRetreatYear & """" & ");"
I"m going blind trying to find the syntax error in the above UPDATE. "RoomID" and "SelectID" are both integer and "gblRetreatYear" is string, as are the corresponding table fields in the table "APPENDAGES". I even assigned the expression to a temp string and viewed the results. Everything looks okay but still the error.
Been a long day, so thanks for any help.
Bill