Data wont stay saved in Database using Pysqlite

Discussion in 'Python' started by azrael, Oct 12, 2008.

  1. azrael

    azrael Guest

    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
     
    azrael, Oct 12, 2008
    #1
    1. Advertising

  2. azrael

    azrael Guest

    On Oct 12, 8:26 pm, azrael <> wrote:
    > 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
     
    azrael, Oct 12, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Craig G
    Replies:
    0
    Views:
    393
    Craig G
    Mar 7, 2005
  2. Benny Ng
    Replies:
    3
    Views:
    868
    Benny Ng
    Jan 25, 2006
  3. DJS2C
    Replies:
    4
    Views:
    490
    DJS2C
    Dec 21, 2004
  4. F. GEIGER
    Replies:
    2
    Views:
    541
    F. GEIGER
    May 21, 2005
  5. Gerhard Häring
    Replies:
    3
    Views:
    380
    Gerhard Häring
    Mar 13, 2008
Loading...

Share This Page