'qui anzichè addnew uso edit ma da errore
L'errore è proprio questo.
La sintassi edit non esiste.