Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default .ldb question

Occasionally, after sending data to our database, the .ldb file remains open.
I know this can be caused by not shutting down the database properly.

Is there a way to programmatically close the .ldb file? Thanks......
--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default .ldb question

This per Gunny, found at Microsoft.mailarchive.ca

"The file is locked by some other process than the one you tried to kill.
Perhaps this is a multiuser database being shared on the network? (This is
a no-no, but I know people do it all the time.) If so, perhaps one of the
other users is connected to the MDB file. If so, have that user quit the
database application. Use the LDB Viewer to see which workstations on the
network are currently connected to the database.

If that doesn't work, ask the Windows Network Admin to remove the file lock.

If this database application isn't networked, then look to see what other
process is connected to the MDB file, such as an Excel spreadsheet, and when
you find it, save your work and close that application to remove the file
lock. If you can't find the process that is locking the database, then save
all your work and reboot the PC where the database is located. That will
remove the file lock."

Alan



"JT" wrote:

Occasionally, after sending data to our database, the .ldb file remains open.
I know this can be caused by not shutting down the database properly.

Is there a way to programmatically close the .ldb file? Thanks......
--
JT

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good davegb Excel Programming 1 May 6th 05 06:35 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 27th 05 07:46 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 23 April 23rd 05 09:26 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 22nd 05 03:30 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"