sbagli la sintassi della query:
codice:
sql = "update tabella set tuocampo = '"&campo&"' where id = " & id