1
u/RJohn12 May 20 '20
I'm just making best guesses, do you need to manually close your access connection on close? Does your app include any code for deleting records?
2
u/bouoron May 20 '20
the connection closed base on the code and I don't have any code that deleted the record
1
u/RJohn12 May 20 '20
any code for deleting ANY records?
2
u/bouoron May 20 '20
nope
2
u/RJohn12 May 20 '20
the clue is that whatever happens is happening when the app starts, so I'd start looking there
can you manually add records to the table in access? Do they stay there?
→ More replies (1)1
2
u/tommax007 May 20 '20
It looks like every time you build the project, access file is copied from your project folder to the debug folder.
1
1
u/URIXMX May 20 '20
Necesitas que la base de datos se duplique en tu proyecto para que pueda aplicarse los cambios en tu base de datos en tiempo real
1
u/CharlieMay VB.Net Intermediate May 20 '20
it appears you're running a local instance. If so, click on the database file in solution explorer and select CopyToOutPutDirectory property set it to never copy.
2
u/stapper May 20 '20
Don't you need to commit your changes before closing?