I recently inherited a VB program that manipulates an access database. After making several minor revisions, I distributed a release for testing. Yesterday I received an email that an entire table had vanished from the source database after two users worked with my revised program. An entire table vanished! I've seen table and database corruption before, but I've never heard of a table being DELETED due to improper program code. Furthermore, I've yet to find any code in this program that deletes tables. All of the code that handles the database connection appears to be working fine, and has not been modified in any way (although, read the note below). So, aside from someone physically deleting the table from the source file, I'm kind of stumped as to what happened.
The network setup is as follows: 3 users simultaneously access a single VB executable residing on an NT 4.0 server. I do not know if this is a proper setup, however they have worked with this setup without issue for a few years now.
Any thoughts?
Note:
I've realized that the source code I've been given to modify is not the most recent source code (at least two major revisions prior to the current distribution). Unfortunately the client cannot find the most recent code and the previous programmer is MIA. So, I'm stuck trying to improve a program using code that probably isn't as sound as the current program. Great.
The network setup is as follows: 3 users simultaneously access a single VB executable residing on an NT 4.0 server. I do not know if this is a proper setup, however they have worked with this setup without issue for a few years now.
Any thoughts?
Note:
I've realized that the source code I've been given to modify is not the most recent source code (at least two major revisions prior to the current distribution). Unfortunately the client cannot find the most recent code and the previous programmer is MIA. So, I'm stuck trying to improve a program using code that probably isn't as sound as the current program. Great.
Last edited: