-
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
-
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
2 hours, 40 minutes ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
14 hours, 35 minutes ago -
Problem using exfat drives for backup
by
Danmc
14 hours, 53 minutes ago -
I hate that AI is on every computer we have!
by
1bumthumb
16 hours, 12 minutes ago -
Change Info in the Settings window
by
CWBillow
21 hours, 34 minutes ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
1 day, 3 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
13 hours, 43 minutes ago -
Use of Gmail rejected.
by
CBFPD-Chief115
14 hours, 23 minutes ago -
WuMgr operational questions
by
Tex265
15 hours, 2 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
1 day, 19 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
19 hours, 45 minutes ago -
Backing up Google Calendar
by
CWBillow
2 days, 1 hour ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
2 days, 14 hours ago -
File Naming Conventions (including Folders)
by
Magic66
1 day, 13 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
2 days, 21 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
2 days, 8 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
1 day, 14 hours ago -
Adding Microsoft Account.
by
DaveBRenn
2 days, 23 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
3 days, 22 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
3 days, 23 hours ago -
Windows 11 won’t boot
by
goducks25
1 day, 15 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
3 days, 12 hours ago -
Rest in Peace
by
Roy Lasris
4 days, 17 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
1 day, 15 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
4 days, 18 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
1 day, 9 hours ago -
Long Time Member
by
jackpet
4 days, 20 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
14 hours, 22 minutes ago -
What I learned from Woody Leonhard
by
B. Livingston
4 days, 13 hours ago -
Windows Settings today
by
Simon Bisson
16 hours, 13 minutes 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.