Data wont stay saved in Database using Pysqlite

A

azrael

I am working on an application using Python, wxPython and Sqlite
(Pysqlite)

So my problem is that I can connect top the database. When I open a
dialog through a form I am able to make a select, even insert data
into the database. Even if I open again the Dialog.

But as soon as I close the main frame, the new inserted data is gone.
I don't get it I tried everything. Has anyone any idea. Please any
idea. It's kind of urgent


Thaks
 
A

azrael

I am working on an application using Python, wxPython and Sqlite
(Pysqlite)

So my problem is that I can connect top the database. When I open a
dialog through a form I am able to make a select, even insert data
into the database. Even if I open again the Dialog.

But as soon as I close the main frame, the new inserted data is gone.
I don't get it I tried everything. Has anyone any idea. Please any
idea. It's kind of urgent

Thaks

Done, I' am a moron. How could I forget to commit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top