PC Review


Reply
Thread Tools Rate Thread

Check if mdb file is open

 
 
K
Guest
Posts: n/a
 
      24th Dec 2008
Hi all, I want macro in excel which should check Microsoft Access
"mdb" file in specified folder that if it is open or not and also is
it possible to check that file is opened by which user. I know I can
check this in excel by WriteReversedBy command but how can i check
that which user has opened the mdb file. Please help
 
Reply With Quote
 
 
 
 
RadarEye
Guest
Posts: n/a
 
      24th Dec 2008
On 24 dec, 11:17, K <kamranr1...@yahoo.co.uk> wrote:
> Hi all, *I want macro in excel which should check Microsoft Access
> "mdb" file in specified folder that if it is open or not and also is
> it possible to check that file is opened by which user. I know I can
> check this in excel by WriteReversedBy command but how can i check
> that which user has opened the mdb file. *Please help


Hi K,

As soon as an Access file is in use by someone next to the mdb you
will see a ldb file.
This file contains Record-Locing Information.
For each user an entry will be added and removed according to start
and stop using the mdb.
Unfortunately there is not a clear separation for each active user you
will have to split the line(s) with information at 64 characters.

HTH,

Wouter
 
Reply With Quote
 
K
Guest
Posts: n/a
 
      24th Dec 2008
On Dec 24, 10:58*am, RadarEye <wouter.ma...@sogeti.nl> wrote:
> On 24 dec, 11:17, K <kamranr1...@yahoo.co.uk> wrote:
>
> > Hi all, *I want macro in excel which should check Microsoft Access
> > "mdb" file in specified folder that if it is open or not and also is
> > it possible to check that file is opened by which user. I know I can
> > check this in excel by WriteReversedBy command but how can i check
> > that which user has opened the mdb file. *Please help

>
> Hi K,
>
> As soon as an Access file is in use by someone next to the mdb you
> will see a ldb file.
> This file contains Record-Locing Information.
> For each user an entry will be added and removed according to start
> and stop using the mdb.
> Unfortunately there is not a clear separation for each active user you
> will have to split the line(s) with information at 64 characters.
>
> HTH,
>
> Wouter


Thanks for replying Radar, do i need to open ldb file in notepad to
see the result
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to check if file is already open? Kimmo Laine Microsoft C# .NET 2 31st May 2007 06:38 PM
Check to see if a file is already open =?Utf-8?B?SmFzb24gWmlzY2hrZQ==?= Microsoft Excel Programming 2 30th Jun 2006 08:56 AM
How to check if file is OPEN Alex Simic Microsoft VB .NET 4 30th Nov 2005 04:36 PM
vba to check presence of file and open/not open fLiPMoD£ Microsoft Excel Discussion 2 28th Apr 2005 08:14 PM
Check if file is open Randy Microsoft C# .NET 1 23rd Mar 2004 09:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:30 AM.