This is a really strange one that I haven’t encountered before, so if anyone has any ideas they’d be appreciated!
I have a VB6 front end that is using an MS Access 97 database for it’s data storage. Within the app, there is a search screen that allows you to find saved data. You can then click the search results pane which takes you to the ‘Order details’ page.
While monitoring the database, I noticed that a record I had just added in the system had not appeared in the database. The record appeared in the search screen and I could click on it and view the data in the Order Details screen, but it was not in the database!! First question – how could I view the data if it isn’t in the database?? The app is simply querying the database tables to display it’s info!
In the app, the record I had just added was given an ID of 5029 (An autonumber field from the Access db) which was displayed in the search screen. When I shut the app and reloaded it, the record did not appear in the search screen so I created another order and the next available ID was 5030. Even though record 5029 was not added to the database, the ID had been used?
So, how is my app displaying and allowing the user to interact with data that has not actually been added to the database and which disappears when the app is closed & reloaded? I am using DAO transactions to control the addition of records to the main details tables – could this affect the data in the above ways?
Thanks