Quote:c.execute('INSERT INTO transformers(name) VALUES(4523)')Table transformers has no field named name. Use something like this to insert and then you commit to update the database --> SQLite tutorial http://zetcode.com/db/sqlitepythontutorial/
c.execute('INSERT INTO windings values (?,?)', (transformer_id, 4)) con.commit()