-
WSJimDettman
AskWoody LoungerOutside of the services offered by JET 4.0 already mentioned, you can use the functions found in Msldbusr.dll, to read the .LDB file. Notification can occur on the netwrok level or be something that you build into the app. Here’s a link to a MSKB article that will give you the info/code that you need:
http://support.microsoft.com/support/kb/ar…s/Q186/3/04.ASP
Jim.
Edited to add active link–Charlotte
-
WSJimDettman
AskWoody LoungerThe tip would still apply. Bottom line is your still touching a JET MDB file. Repeated opening and closing under NT is slow. So as long as a recordset is held open against a table (DAO or ADO), that won’t happen and you’ll see a speed up.
Jim.
-
WSJimDettman
AskWoody Lounger -
WSJimDettman
AskWoody Lounger -
WSJimDettman
AskWoody LoungerJohn,
It’s nothing fancey. Can be as simple as opening a hidden form that’s bound to a table from the Autoexec macro.
Or you can set a global recordset variable and just open a table through a startup function.
In one case where a relink of all the backend tables was being done (about 50 tables), the relink time dropped from two and a half minutes down to 15 seconds or so when the first table relinked was held open until the relink was finished.
Jim.
Jim.
-
WSJimDettman
AskWoody Lounger -
WSJimDettman
AskWoody LoungerIt’s a little more complicated then that. Access only *requests* locks be placed/removed with the OS/NOS that handles the file operations for the MDB file (and hence the LDB file). It doesn’t handle the locks themselves. For example, it says to the OS/NOS “I want to take a lock on byte 16,000,000 of the file xxxx.LDB” The OS/NOS then takes care of recording the lock. With Win 3.1, that was done by SHARE.EXE. With Win9x, it’s done by vshare.vxd. Under NT, it’s the lock manager.
This is called extented byte range locking. What that means is is that Access takes locks out on parts of the LDB file that don’t exist. For example, Access uses a “User Lock” to indicate that a user is in the MDB and taking up one of the 255 slots in the LDB file. This lock is placed in the 7 million byte range (if memory serves correct). The LDB file doesn’t have 7 million bytes though. In fact, it will never grow larger then 16K.
So by using different byte ranges to represent different types of locks, Access can generate whatever type of locking scheme it wants without every writting anything to disk or having to work within any predefined data structure. This means that the locking scheme can be changed from release to release quite easily.
Jim.
-
WSJimDettman
AskWoody LoungerKeeping a table open in the backend keeps it from repeatedly opening and closing. If a frontend closes all references to a backend, Access goes ahead and closes it. As soon as a reference is made to it, it then opens it again.
With that process, there is quite a bit of overhead (check for access to the file, placing an entry in the LDB file, placing a user lock, etc) so this can really slow down and app.
Under NT, the problem seems to worse because its not that great of a performer, especially the lock manager.
Jim.
-
WSJimDettman
AskWoody LoungerBeen doing fine. Hope you are too. But really, from what I’ve heard, A2000 does fine once configured properly and after applying SR1 (bug fix).
It also seems to deal with locking a lot more then other versions, so when working with NT (which has a poor performing lock manager), it seems to be quite a bit slower. But there are ways around that. Top 5 things you can do for A2000 are:
1. Hold open a table in the backend MDB for the life of the app.
2. Turn off the subdata sheet feature.
3. Turn off name autocorrect.
4. Make sure the client/server are using hte same default protocol.
5. Turn off client side caching of files (opportunistic locking under NT)Jim.
-
WSJimDettman
AskWoody Lounger -
WSJimDettman
AskWoody LoungerYou can get the correct characters two ways:
1. Cut and paste from Character Map – This is a windows utility found under Accessories/system tools (it may need to be installed).
2. Set the controls datasource to:
=Chr$(xx) & chr$(xx) & …etc.
Jim.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Thunderbird release notes for 128 esr have disappeared
by
EricB
2 hours, 54 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
6 hours, 4 minutes ago -
Apple releases 18.5
by
Susan Bradley
29 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
7 hours, 30 minutes ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
8 hours, 8 minutes ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
15 hours, 4 minutes ago -
No HP software folders
by
fpefpe
15 hours, 49 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
8 hours, 1 minute ago -
Stay connected anywhere
by
Peter Deegan
21 hours, 11 minutes ago -
Copilot, under the table
by
Will Fastie
12 hours, 25 minutes ago -
The Windows experience
by
Will Fastie
1 day, 3 hours ago -
A tale of two operating systems
by
Susan Bradley
18 hours, 22 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day, 8 hours ago -
Where’s the cache today?
by
Up2you2
2 days ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 16 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
17 hours, 11 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
2 days ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 17 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 17 hours ago -
regarding april update and may update
by
heybengbeng
2 days, 18 hours ago -
MS Passkey
by
pmruzicka
1 day, 20 hours ago -
Can’t make Opera my default browser
by
bmeacham
3 days, 2 hours ago -
*Some settings are managed by your organization
by
rlowe44
2 days, 13 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
3 days, 1 hour ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 21 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
4 days, 6 hours ago -
AI slop
by
Susan Bradley
2 days ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
4 days, 7 hours ago -
Two blank icons
by
CR2
1 day, 15 hours ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.