Ragazzi mi dice errore di sintassi. Sarò cotto ma.....:

sql = "UPDATE farmaci set consegnato="&consi&" where contatore= "& idd &";"