473,671 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10998
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******@btint ernet.com> wrote in message
news:cq******** **@hercules.bti nternet.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******@btint ernet.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.c om...
On Fri, 24 Dec 2004 16:53:44 +0000 (UTC), "Jan Szymczuk"
<sz******@btint ernet.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
txtStartDat e and set the click button property to:
=CalendarFo r([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*********@Se eSig.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******@btint ernet.com> wrote in message
news:cq******** **@hercules.bti nternet.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******@btint ernet.com> wrote in message
news:cr******** **@sparta.btint ernet.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*********@Se eSig.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******@btint ernet.com> wrote in message
news:cq******** **@hercules.bti nternet.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******@btint ernet.com> wrote in message
news:cq******** **@hercules.bti nternet.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
5895
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 write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
13
2933
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 solution with 30+ users, which needs to be upgraded. I believe a dotNet solution is better, but I'm trying to be as convincing as possible -- and maybe I'm wrong! I would appreciate any input or references which could help me.
1
4336
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 things need to be considered when determining an inherited base member's access level in the derived class: its access level in the base class and the type of inheritance (public, protected, or private). After this determination is made, the following possibilities exist for manually changing the...
13
13336
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 appreciate a (simplifed) message explaining the advantages and disadvantages of both programs. Many Thanks Simon
0
2962
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second Edition" Sebastopol, CA--Neither reference book nor tutorial, "Access Cookbook, Second Edition" (O'Reilly, US $49.95), by Ken Getz, Paul Litwin, and Andy Baron, delivers hundreds of practical examples, up-to-date suggestions, and handy solutions to real-world problems that Access users and...
49
14326
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 questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. I'm wondering what are the disadvantages of using Access as front-end? Other that it's not...
2
1349
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 some problems with duplication of records. Is there any way to programatically keep users from running more than one copy of the program at a time. I'm running MS Access 97 on a brand new, XP system. (For what it is worth, I've tried explaining the problem to the users, have given them...
13
4318
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, but then after it won't reconnect, I get the error "operation is not allowed when object is open" so I take out the line of code: BookDetails.Connection1.Open and it comes up with the error "operation is not allowed when object
4
4591
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 system. How can I get rid of the problem? I tried to delete the ldb (Access.LockFile9), but unable to do that. Thanks in advance.
0
8471
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8388
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8593
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7423
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6218
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4396
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2804
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.