Results 1 to 2 of 2
  1. #1

    Thread Starter
    Junior Member Menacing Moto's Avatar
    Join Date
    Sep 2015

    Resolved [RESOLVED] VB 2015 Database doesn't keep records

    I don't need any code I don't think. My program is working great, also disclaimer before people get all weird on me this is NOT a work or school assignment. This is a program I designed for my Fiance. Okay, onward.

    I have a few form program with a database, everything works great (Add, Edit, Delete, Save). I can get all the records in the world saved, but when I end debugging I lose all the records. I want all the entered records to stay in the database, after all it is a paycheck calculator. Once I end debugging, and start debugging I want the records from the previous debug to still be there, as basically a log. You want to keep your hours and pay handy in case you don't get the correct amount owed to you, which is the inspiration to this program. It calculates paychecks to the exact cent.

    In short, how do I keep my records in the DB even after I end the debug. If you need any more clarification, I can go into a bit more detail.

    UPDATE*** Upon some searching properties I figured it out. I changed copy to output directory to Copy if Newer, it works great now and also updates Access.
    Last edited by Menacing Moto; Apr 23rd, 2016 at 11:00 PM.

  2. #2
    Hyperactive Member
    Join Date
    Sep 2004

    Re: [RESOLVED] VB 2015 Database doesn't keep records

    Without seeing what you are doing, I can only guess that you are using transactions and not committing the transaction.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width