D
Derrick
I am working on a vb.net app that access an MS Access Data base.
I am having a confusing problem, and was hoping to get a little
clarification.
One form creates the .mdb file and creates the tables and constraintes using
DDL and a command object using its executeNonQuery() method. When I close
the connection, the .ldb file stays. I checked the connection state and it
reports closed.
In another form, I connect to the data base, retreive information using a
datareader and close the connection. The .ldb file disappears.
Both forms create an instance of same class and call the same methods to
connect and disconnect.
So my questions are:
1. should the .ldb file disappear when the connection is closed?
2. If it should, what could cause it to remain when the connection is
closed?
Thanks for your help
Derrick
I am having a confusing problem, and was hoping to get a little
clarification.
One form creates the .mdb file and creates the tables and constraintes using
DDL and a command object using its executeNonQuery() method. When I close
the connection, the .ldb file stays. I checked the connection state and it
reports closed.
In another form, I connect to the data base, retreive information using a
datareader and close the connection. The .ldb file disappears.
Both forms create an instance of same class and call the same methods to
connect and disconnect.
So my questions are:
1. should the .ldb file disappear when the connection is closed?
2. If it should, what could cause it to remain when the connection is
closed?
Thanks for your help
Derrick