Re: .ldb file stays when connection is closed
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/25/04
- Next message: Tu-Thach: "RE: Date Problem"
- Previous message: John B.: "Re: DataColumn Size for Numbers??"
- In reply to: Derrick: ".ldb file stays when connection is closed"
- Next in thread: Derrick: "Re: .ldb file stays when connection is closed"
- Reply: Derrick: "Re: .ldb file stays when connection is closed"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 08:44:26 -0600
On Wed, 25 Feb 2004 02:39:40 GMT, "Derrick" <Derrick_no_spam@geostrategies.ca> wrote:
¤ 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?
Yes.
¤
¤ 2. If it should, what could cause it to remain when the connection is
¤ closed?
Perhaps you have an implicit connection from one of your other data objects. What happens when you
terminate the application? Is the .LDB file removed?
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
- Next message: Tu-Thach: "RE: Date Problem"
- Previous message: John B.: "Re: DataColumn Size for Numbers??"
- In reply to: Derrick: ".ldb file stays when connection is closed"
- Next in thread: Derrick: "Re: .ldb file stays when connection is closed"
- Reply: Derrick: "Re: .ldb file stays when connection is closed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|