-
WSShane Sargent
AskWoody LoungerOr you might try implementing Workgroup level security. Access database passwords are ridiculously easy to crack, a DOS based program and 30 seconds is all that’s needed, but a Workgroup implementation should be much more secure.
Regards,
-
WSShane Sargent
AskWoody LoungerJohn:
cpod already provided a function for you that’ll do the trick, and well. Thought I’d give you this to boot as I’ve been able to use it to great effect; feed the function the string you want it to search, what you want it to search the string for, and what you want it to be replaced with. As I’ve just used it myself, it’s not particularly well commented, sorry.
Regards,
~Shane
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Function ChangeStr(strOrig As String, strOldChar As String, strNewChar As String _
, intMatchCase As Integer) As Variant
‘This substitutes one character or char string with another as
‘designated in the calling function, from KB Q210372
‘intMatchCase defaults to 0 which means case insensitive; set to 1 for case
‘sensitive comparison against strOldChar
Dim Temp As String
Dim Pos As IntegerTemp = “”
If IsNull(strOrig) Then
ChangeStr = Null
Exit Function
End IfIf strOldChar = “” Or strOrig = “” Then
ChangeStr = strOrig
Exit Function
End IfPos = InStr(1, strOrig, strOldChar, intMatchCase)
While Pos > 0
Temp = Temp & Mid$(strOrig, 1, Pos – 1) & strNewChar
strOrig = Right$(strOrig, Len(strOrig) – Pos – Len(strOldChar) + 1)
Pos = InStr(1, strOrig, strOldChar, intMatchCase)
Wend
ChangeStr = Temp & strOrigEnd Function
-
WSShane Sargent
AskWoody LoungerDrk:
I think that the offending bit is the brackets around your Trim statement and the “=” within:
=”I,” & [=Trim([FirstName] & ” ” & [MiddleName] & ” ” & [LastName] ) ]
Try the following:
=”I,” & Trim([FirstName] & ” ” & [MiddleName] & ” ” & [LastName]) & “hereby authorize Woodys Lounge to be the best lounge on the planet any time after” & [DateAfter] & “.” & “My King of the world Number is” & [KingofworldNumber] & “.”
If that doesn’t do the trick, you might try trimming each of the pieces of the full name seperately, i.e. Trim([FirstName]) & ” ” & Trim([MiddleName]), yadda. Lemme know if this works out…
-
WSShane Sargent
AskWoody LoungerDrk:
You can set the Control Source of the text box to be:
=”I, ” & [CONSUMER NAME] & “, hereby authorize Woody’s Lounge… ”
This should do the trick!
-
WSShane Sargent
AskWoody LoungerDrk:
I’m not quite sure what data you want to move in there, but see if the DAY( ) function applied against the Cows date gets you closer to where you wanna be.
-
WSShane Sargent
AskWoody LoungerYup, it works; Win98 machine with Office 97 SR2 with references set to the ADO 2.0, 2.1, or 2.5 libraries – take yer pick!
~Shane
-
WSShane Sargent
AskWoody LoungerDrk:
Erp!
It makes use of ADO’s schema recordsets, so I’d guess no in 0ffice 97. Unless perhaps you set a reference to the ADO 2.x library? Dunno..but I have an unsuspecting user with ’97SR2 that I’ll go pester and see if that does do the trick!
~Shane
-
WSShane Sargent
AskWoody LoungerThough I’m guessing the corruption issue is seperate from multiple users accessing the .MDB at the same time, here is a function stolen wholesale from Susan Sales Harkins writing in the Nov. 2000 issue of Inside MS Access published by Element K. It looks to see what devices have a user lock in the .LDB file. It will return, in order, if called from the immediate window: the COMPUTER_NAME, the LOGIN_NAME, a CONNECTED flag (-1 = true), and a SUSPECTED_STATE flag (-1 = true, null = false).
When you call the function from your PC, your name will show up as having a lock record in the .LDB. If yours is the only name, nobody else is in the db. So, you could examine the resulting recordset’s count property, if it’s >1, somebody else is connected, and you can raise that big, red flag! Judging by your ability to create great icons, I’m guessing it’d be a handsome flag at that!
HTH, and here’s the code from Ms. Harkins.
~Shane
~~~~~~~~~~~~~~~~~~~~~
Global Const JET_SCHEMA_USERROSTER = _
“{947bb102-5d43-11d1-bdbf-00c04fb92675}”Sub ReturnUserRoster()
Dim cnn As New ADODB.Connection
Dim rst As ADODB.Recordset
cnn.Open “Provider=Microsoft.Jet.OLEDB.4.0;” & _
“Data Source=Your path and file name here;”
Set rst = cnn.OpenSchema(adSchemaProviderSpecific _
, , JET_SCHEMA_USERROSTER)
Debug.Print rst.GetString
Set rst = Nothing
Set cnn = Nothing
End Sub
![]() |
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
-
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
5 hours, 32 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
6 hours, 38 minutes ago -
0Patch, where to begin
by
cassel23
40 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
20 hours, 16 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
8 hours, 1 minute ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
1 day, 4 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
19 hours, 47 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
6 hours, 55 minutes ago -
Installer program can’t read my registry
by
Peobody
1 hour, 53 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
17 hours, 35 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
1 day ago -
False error message from eMClient
by
WSSebastian42
1 day, 15 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
2 days, 1 hour ago -
Office 2021 Perpetual for Mac
by
rebop2020
2 days, 2 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
22 hours, 50 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 days, 5 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
1 day, 6 hours ago -
Outdated Laptop
by
jdamkeene
2 days, 11 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 16 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 16 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
13 hours, 39 minutes ago -
May 2025 updates are out
by
Susan Bradley
4 hours, 34 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 22 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 22 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 22 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
18 hours, 15 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
3 days, 5 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 23 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
3 days, 6 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
3 days, 7 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.