472,353 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Access.Lockfile.9 - why???

I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one date
field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I now
do not have exclusive rights to my own database! I have noticed that a
lockfile.9 file has also created. Please can you tell me how to remedy this
as I really like your calender option.

Jan
Nov 13 '05 #1
6 10887
The error message does not relate to the calendar control. It has no rights
attached, so it is not the cause of the message.

Access creates an ldb file when you open your database in non-exclusive mode
(shared). It should delete this file when it closes. If it crashes, the file
may be left there, containing spurious information. While Access is not
running, delete the ldb if you see it. Then try again.

You could also compact your database:
Tools | Database Utilities | Compact.

Hopefully that will get you going.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jan Szymczuk" <sz******@btinternet.com> wrote in message
news:cq**********@hercules.btinternet.com...
I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one date
field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I now
do not have exclusive rights to my own database! I have noticed that a
lockfile.9 file has also created. Please can you tell me how to remedy
this as I really like your calender option.

Jan

Nov 13 '05 #2
On Fri, 24 Dec 2004 16:53:44 +0000 (UTC), "Jan Szymczuk"
<sz******@btinternet.com> wrote:

Start Access (version 2000 and up) and don't select a db. File/Open.
Select your db, and click the down arrow next to the Open button and
select Open Exclusive.

Alternatively create a shortcut to your db which includes the
/exclusive argument.

-Tom.

I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one date
field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I now
do not have exclusive rights to my own database! I have noticed that a
lockfile.9 file has also created. Please can you tell me how to remedy this
as I really like your calender option.

Jan


Nov 13 '05 #3
Tom,

You are correct; however, but aware of the following.
http://support.microsoft.com/default...b;en-us;304528

--
Wayne Morgan
MS Access MVP
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:c5********************************@4ax.com...
On Fri, 24 Dec 2004 16:53:44 +0000 (UTC), "Jan Szymczuk"
<sz******@btinternet.com> wrote:

Start Access (version 2000 and up) and don't select a db. File/Open.
Select your db, and click the down arrow next to the Open button and
select Open Exclusive.

Alternatively create a shortcut to your db which includes the
/exclusive argument.

-Tom.

I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one date
field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I now
do not have exclusive rights to my own database! I have noticed that a
lockfile.9 file has also created. Please can you tell me how to remedy
this
as I really like your calender option.

Jan

Nov 13 '05 #4
Hi Allen,
I have compacted and repaired my databaes as you suggested, I can run the
downloaded calender db from your website, ok, the problem I repeatedly have
is that when I import the two forms and the module from your calender db
over into my database I always recieve the following error...

The expression on Open you entered as the event property setting produced
the following error:Error accessing file. Network connection may have been
lost.

* The expression may or may not result in the name of a macro, the name of a
user-defined function, or [Event Procedure]
* There may have been an error evaluating the function, event, or macro.....

PS I am opening up my db in exclusive mode..

Jan
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
The error message does not relate to the calendar control. It has no
rights attached, so it is not the cause of the message.

Access creates an ldb file when you open your database in non-exclusive
mode (shared). It should delete this file when it closes. If it crashes,
the file may be left there, containing spurious information. While Access
is not running, delete the ldb if you see it. Then try again.

You could also compact your database:
Tools | Database Utilities | Compact.

Hopefully that will get you going.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jan Szymczuk" <sz******@btinternet.com> wrote in message
news:cq**********@hercules.btinternet.com...
I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one
date field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I
now do not have exclusive rights to my own database! I have noticed that
a lockfile.9 file has also created. Please can you tell me how to remedy
this as I really like your calender option.

Jan


Nov 13 '05 #5
Jan,

If you don't have Office 2000 SP3 installed, you may have just run into a
nasty bug. For more information, see this article.

http://support.microsoft.com/default...b;en-us;304548

To fix this problem, the SaveAsText option for all objects will help. You
will find information on doing that here.
http://www.granite.ab.ca/access/corr...uptobjects.htm
http://www.access-programmers.co.uk/...p/t-66320.html
http://www.dbforums.com/t1080847.html
--
Wayne Morgan
MS Access MVP
"Jan Szymczuk" <sz******@btinternet.com> wrote in message
news:cr**********@sparta.btinternet.com...
Hi Allen,
I have compacted and repaired my databaes as you suggested, I can run the
downloaded calender db from your website, ok, the problem I repeatedly
have is that when I import the two forms and the module from your calender
db over into my database I always recieve the following error...

The expression on Open you entered as the event property setting produced
the following error:Error accessing file. Network connection may have been
lost.

* The expression may or may not result in the name of a macro, the name of
a user-defined function, or [Event Procedure]
* There may have been an error evaluating the function, event, or
macro.....

PS I am opening up my db in exclusive mode..

Jan
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
The error message does not relate to the calendar control. It has no
rights attached, so it is not the cause of the message.

Access creates an ldb file when you open your database in non-exclusive
mode (shared). It should delete this file when it closes. If it crashes,
the file may be left there, containing spurious information. While Access
is not running, delete the ldb if you see it. Then try again.

You could also compact your database:
Tools | Database Utilities | Compact.

Hopefully that will get you going.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jan Szymczuk" <sz******@btinternet.com> wrote in message
news:cq**********@hercules.btinternet.com...
I'm creating a database in Access 2000 in XP Pro (SP2), I have
downloaded Allen Browne's pop up calender for use in my database, and
imported the forms: frmCalender, frmExample and the Module ajbCalender.
I have one date field (Date) on my main Access Input Records form, I
renamed it to txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I
now do not have exclusive rights to my own database! I have noticed that
a lockfile.9 file has also created. Please can you tell me how to remedy
this as I really like your calender option.

Jan



Nov 13 '05 #6
Thanks guys, especially you Wayne,

I have now run all three Office service packs in the correct order and
everything is running as sweet as a nut

Jan
"Jan Szymczuk" <sz******@btinternet.com> wrote in message
news:cq**********@hercules.btinternet.com...
I'm creating a database in Access 2000 in XP Pro (SP2), I have downloaded
Allen Browne's pop up calender for use in my database, and imported the
forms: frmCalender, frmExample and the Module ajbCalender. I have one date
field (Date) on my main Access Input Records form, I renamed it to
txtStartDate and set the click button property to:
=CalendarFor([txtStartDate], "Select the date")but then I cannot save my
form (Input Records) with this new button, as Access informs me that I now
do not have exclusive rights to my own database! I have noticed that a
lockfile.9 file has also created. Please can you tell me how to remedy
this as I really like your calender option.

Jan

Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather...
13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB...
1
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two...
13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much...
0
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are...
2
by: Hulda Clark Got Zapped | last post by:
I have a rather unusual problem. Users sometimes run 2 or more copies of the Access application on the same computer simultaniously. This creates...
13
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine,...
4
by: loisk | last post by:
Hi, My access db (linked to MySQL) is generating an error out saying that another user has the database in exclusive mode. No one else is on the...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.