-
WShasse
AskWoody LoungerJanuary 19, 2007 at 12:54 pm in reply to: No recovery of system tables corruption prone DB ( #1047655Hans – thanks for the confirmation!
-
WShasse
AskWoody LoungerFwiw… re: Leban’s mouse wheel dll solution (which I used to my satisfaction): be aware to move the dll along with the database and/or have it placed in every user’s Windows/System folder… and/or include some lines in the VBA procedure’s error handling to deal with the situation when the dll is lacking for some reason.
Take care!
Hasse -
WShasse
AskWoody LoungerJanuary 17, 2007 at 3:37 pm in reply to: No recovery of system tables corruption prone DB ( #1047397(Thanks) Hans (yes, I understand, but… ) I realise now that my actual question wasn’t clear enough.
Is it OK, certainly when recovering a (possibly) corrupted database, not to import the system objects (except eventually custom ones, created by your own while developing the database)?
(Or is there any reason why or any condition under which these ‘old ones’ are needed too?)Hasse
-
WShasse
AskWoody LoungerInteresting explanatory post you refer to Hans
.
Only for the record: this Microsoft MSDN article helped me out before I found your advise: Quotation Marks in Strings.
Take care,
Hasse -
WShasse
AskWoody LoungerOK – got it
– thanks & enjoy your weekend! – Hasse
-
WShasse
AskWoody LoungerThanks Hans… can you clarify what you mean with ‘if done correctly’? Is there some sample code you could refer to?
Hasse -
WShasse
AskWoody LoungerFYI: HansV referred to articles of Microsoft’s support & KB in Turn of track changes (2003)… which clarify that Word 2003 shows tracked changes automatically when opening a document (regardless whether you had them hidden before)… and what you can do about it.
Question: is there an advantage using copy-paste to get rid of all tracked changes rather than ‘accepting all changes’, when using automation?
E.g. to accept all changes in the current document, I would use something like:
Dim revLoop As Revision
Dim myRange As RangeSet myRange = Selection.Range
myRange.Wholestory
For Each revLoop In myRange.Revisions
revLoop.Accept
Next revLoopHasse
ps [indent]
(…) Someone has suggested to me that comments and annotations can re-appear – has anyone encountered this?
[/indent]Fwiw… yep… with tracked changes… during the upgrade process in our organisation. Previously no one cared about tracking changes. Untill suddenly, with Office 2003, these started to pop up out of the unexpected… In the long term, it might be an interesting enhancement to make you aware of this hidden info which others might be able to abuse. In situations where Office 97 users’ documents (to whom these changes are invisible by default) are processed and forwarded to upgraded users, it’s quite embarrassing though, certainly if you work with important documents and memoranda. (Because… who’s actually aware of the changes stored in the document? I guess close to no one…)
Btw… our (outsourced) IT helpdesk could only explain how to switch them off or accept all in the current document– but no more structured solution available for the several hundreds of documents we are processing. Printing to a pdf was no solution… as it just printed the visible tracked changes all along :-p. They said you can’t get rid of them (…) So not much help there… and I’m glad (again) to have the Lounge
.
ps For those wanting to preserve changes with copy-paste, check this out: (Carry forward Track Changes (Word 97/2000/XP/2003) -
WShasse
AskWoody LoungerHey… wonderful
!
-
WShasse
AskWoody Lounger(Edited by HansV to make URL clickable – see Help 19)
Catharine,
this is not my cup of tea at all, but without any answer… this may be better than nothing.
At first sight, ODBC (and/or eventually ASP?) may help to connect the dots.
A thorough google/… search might reveal some interesting articles and references.
Here’s some links I found at google:
http://www.phpfreaks.com/tutorials/61/0.php%5B/url%5D (tutorial)
http://www.tek-tips.com/viewthread.cfm?qid…42&page=124%5B/url%5D (where one member also says the combination causes a problem).
Sorry I can’t help you much further…
Hasse -
WShasse
AskWoody LoungerMark… I completely agree… but unfortunately that’s in the central management’s hands. So I have to (start cleaning out garbage & old files we probably won’t use anymore on a regular basis or) deal with the situation as it is…
Anyway… with the backend being less than 5MB in size, I think the 50MB holds a fair margin.
Meanwhile, I imported all healthy tables in a new database, an earlier version of the corrupt ones from a backup, assembled the recent input from the intermediate backups cleaned the corrupted records (fortunately not too many as I advised to start registering on paper)… and we’re back.
Thanks for all replies… and take care,
Hasse -
WShasse
AskWoody LoungerFYI… my solution…
1. Public function checks free disk space
=> saved in module basGetDiskSpaceOption Compare Database
Option Explicit'Sources
'http://www.kbalertz.com/225144/GetDiskFreeSpaceEx.Retrieve.Drive.Information.aspx
'Adapted from form_click into Msgbox function: 'http://www.developerfusion.co.uk/show/153/
'Additional reading: VBA Developers Handbook (Getz & Gilbert, Sybex)Private Type LARGE_INTEGER
lowpart As Long
highpart As Long
End TypePrivate Declare Function GetDiskFreeSpaceEx Lib "kernel32" Alias "GetDiskFreeSpaceExA" (ByVal lpRootPathName As String, lpFreeBytesAvailableToCaller As LARGE_INTEGER, lpTotalNumberOfBytes As LARGE_INTEGER, lpTotalNumberOfFreeBytes As LARGE_INTEGER) As Long
'CUSTOMISED FUNCTION: checks only available space, uses customised format & MB
'E.g. MsgBox GetAvailableDiskSpace("D:")
Public Function fGetAvailableDiskSpace(sDrive As String) As Double
Dim lResult As Long
Dim liAvailable As LARGE_INTEGER
Dim liTotal As LARGE_INTEGER
Dim liFree As LARGE_INTEGER
Dim dblAvailable As Double
If Right(sDrive, 1) "" Then sDrive = sDrive & ""
'Determine the Available Space, Total Size and Free Space of a drive
lResult = GetDiskFreeSpaceEx(sDrive, liAvailable, liTotal, liFree)'Convert the return values from LARGE_INTEGER to doubles
dblAvailable = CLargeInt(liAvailable.lowpart, liAvailable.highpart)'Display the results
fGetAvailableDiskSpace = Format(dblAvailable / 1024 ^ 2, "#,###.0")
End FunctionPrivate Function CLargeInt(Lo As Long, Hi As Long) As Double
'This function converts the LARGE_INTEGER data type to a double
Dim dblLo As Double, dblHi As DoubleIf Lo < 0 Then
dblLo = 2 ^ 32 + Lo
Else
dblLo = Lo
End IfIf Hi < 0 Then
dblHi = 2 ^ 32 + Hi
Else
dblHi = Hi
End If
CLargeInt = dblLo + dblHi * 2 ^ 32
End Function
2. Prevent users of adding, editing or deleting data
=> added in module of each form where users can add, modify or delete dataPrivate Sub Form_BeforeUpdate(Cancel As Integer)
If fGetAvailableDiskSpace("G:") < 50 Then '... MB
MsgBox "Insufficient space on the network (< 50MB): no data entry or changes allowed. Please press 'escape' to cancel and try again later."
Cancel = True
End If
End SubPrivate Sub Form_Delete(Cancel As Integer)
If fGetAvailableDiskSpace("G:") < 50 Then '... MB
MsgBox "Insufficient space on the network (< 50MB): no data deletions allowed. Please press 'escape' to cancel and try again later."
Cancel = True
End If
End Sub
3. Monitoring… (optional)– user form – TimerInterval property & timer event to control the situation every … minutes and whenever necessary warn the user with a message that the network is running out of memory;
– main form – text box mentioning the free disk space status, e.g. Source=”Free disk space: ” & fGetAvailableDiskSpace(“G:”) & ” MB (refresh: F9)” -
WShasse
AskWoody LoungerFwiw…
– I might have found another cause of corruption: (Preventing) corruption due to no disk space (97+);
– an upgrade to an informix back end might not solve much issues when we connect to it through the same network – cosidering Charlotte’s reply in the Access Stability (XP) topic (which adds to HansV’s earlier comments):
[indent]
Access is extremely sensitive to network interruptions, far more so than any of the other Office apps. In fact, it acts as a sort of “miner’s canary” for network problems. Network administrators customarily blame Access for these problems, but they really indicate a situation that needs to be looked at more closely. Things like a single chattering network card on a LAN can bring Access down intermittently. That isn’t a problem with Access, it’s a network issue, but it is far easier to blame Access than to track down the wiring or other hardware problems that exist but don’t seriously affect other applications.
Moving the whole thing to SQL Server requires a database administrator and someone to convert the application and create a new front end. If the backend is SQL Server and you link the tables to an Access mdb front end, you don’t gain any more network stability because Access will not tolerate network interruptions, regardless of the back end, and will not “repair” itself when the connection is reestablished. Your one person with full Access should be using the runtime as well. There is probably a difference between the versions of the files she is using and those installed with the runtime. That will definitely lead to the kind of crashes you describe. That person can use a shortcut that includes the runtime executable to run the application without changing their ability to use the full version of Access for other things.
Charlotte
Moderator: Access, VB/VBA, Books, General Office Solutions
[/indent]
– we are considering using Access through Citrix… but this would require a license for every user… (600 -
WShasse
AskWoody LoungerThanks for this info… I am close to upgrading our database from 97 upwards… hoping this would decrease the number of corruption issues here. This topic might have saved me from only exchanging one kind of trouble into another…
.
FYI… also other topics touch issues with Access 2003… like Mass conversion utility where Charlotte clarifies the database bloat and HansV refers to a number other topics.
Take care,
Hasse -
WShasse
AskWoody LoungerThanks Hans – Hasse
-
WShasse
AskWoody LoungerYour assumption is right… except that disk space being very cheap these days has no positive effect on the available disk space over here… don’t know why :-p.
I guess I’ll make the buffer larger… like 50MB at least (for the backend of about 3-5MB)… which is unlikely to vanish within the time Access needs to save the data after the BeforeUpdate event (right?).
![]() |
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
-
Dedoimedo tries 24H2…
by
Cybertooth
1 hour, 10 minutes ago -
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
22 hours, 49 minutes ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
20 hours, 9 minutes ago -
Small desktops
by
Susan Bradley
3 hours, 17 minutes ago -
Totally disable Bitlocker
by
CWBillow
21 hours, 10 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
20 hours, 26 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
2 days, 2 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
3 hours, 39 minutes ago -
Mystical Desktop
by
CWBillow
2 days, 6 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
1 day, 11 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
3 hours, 19 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
2 days, 21 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
3 days ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
2 days, 22 hours ago -
What is wrong with simple approach?
by
WSSpoke36
20 hours, 17 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
3 days, 9 hours ago -
Location, location, location
by
Susan Bradley
2 days ago -
Cannot get a task to run a restore point
by
CWBillow
3 days, 11 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
3 days, 1 hour ago -
June 2025 Office non-Security Updates
by
PKCano
3 days, 21 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
2 days ago -
Firefox Red Panda Fun Stuff
by
Lars220
3 days, 21 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
4 days, 8 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
3 days, 10 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
4 days, 16 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
4 days, 16 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
4 days, 6 hours ago -
Firefox 139
by
Charlie
3 days, 23 hours ago -
Who knows what?
by
Will Fastie
3 days, 1 hour ago -
My top ten underappreciated features in Office
by
Peter Deegan
1 day, 4 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.