473,895 Members | 2,499 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 11010
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
5985
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
2961
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
4358
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
13382
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
2993
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
14387
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
1354
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
4345
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
4603
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
11250
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10938
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
10475
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8030
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
7181
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5866
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
6072
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4695
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
4291
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.