-
WSMarkLiquorman
AskWoody LoungerI use Rick Fisher’s “Find & Replace”, found at http://www.RickWorld.com. This is an absolutely indispensable tool for Access developers.
-
WSMarkLiquorman
AskWoody LoungerRG,
How did you insert the code like that? Is it an image? -
WSMarkLiquorman
AskWoody LoungerI use a different technique for linking:
Code:Set dbData = DBEngine.Workspaces(0).OpenDatabase(strDataLocationPath) txtConnection.Visible = True For Each mytdf In mydb.TableDefs If Left(mytdf.Name, 1) "~" And Len(mytdf.Connect) > 0 And Left(mytdf.Connect, 1) = ";" Then strTableName = mytdf.Name txtConnection.Value = strTableName 'just shows progress Me.Repaint mytdf.Connect = ";Database=" & strDataLocationPath mytdf.RefreshLink End If Next txtConnection = "Linking Complete!" mydb.Close Set mydb = Nothing dbData.Close Set dbData = Nothing
This technique automatically finds all linked tables; the assumption is that all linked tables are connected to the same backend (a little extra coding if that is not the case). “strDataLocationPath” is that backend location, which may come from different places. Usually I have a linking form that contains the path to the Backend; often a choice between a network location (for production) and a local location (for testing). I believe this technique of refreshing the connection string is faster especially if you have a lot of tables.
-
WSMarkLiquorman
AskWoody LoungerFebruary 23, 2017 at 10:51 am in reply to: How to save tables in a protected database (Access 97) #1591706Definitely not a stupid question. Exactly how are you blocked? Can you open the database with the Shift key depressed? Does it require a database password? If the latter, you should be able to find a 3rd party product to crack the db password.
-
WSMarkLiquorman
AskWoody LoungerJust out of curiousity, how many providers do you have? If there are a lot of rows, Access will delay fully populating a listbox. Just a way of managing resources.
-
WSMarkLiquorman
AskWoody LoungerLuke,
What is the error you are getting? Statement looks OK to me, if you realize that it will return NULL unless ‘Leicester’ is found. You might want to put in an ELSE statement. -
WSMarkLiquorman
AskWoody LoungerAs I see it, the WHERE clause of your SQL should be:
WHERE [Email1] Is Not Null AND [Citizen/Leg] IN (“SFL”, “YAL”, “C”,”F”)This says “I want to return all records that have an email value and that have 1 of 4 acceptable values for citizen/leg”. This assumes that the Email1 field can not contain a zero-length string. If it can, then use: WHERE [Email1] & “” “” AND …
On a separate issue, you should get out of the habit of using special characters in your fieldnames, with the exception of the underscore character.
-
WSMarkLiquorman
AskWoody LoungerIf you’ve installed the SQL Server Management Studio, you can detach the database and then copy/move it.
-
WSMarkLiquorman
AskWoody LoungerAre you sure it is that routine that is asking you twice? Is it possible that in the form’s BeforeUpdate event you have another “Are you sure?”?
-
WSMarkLiquorman
AskWoody LoungerWhat was wrong with: format([Calc_Total],”currency”)
-
WSMarkLiquorman
AskWoody LoungerThe Controlsource for a single textbox would be:
=[Qty] & ” items purchased from ” & [Sold_By] & ” at a cost of ” & format([Calc_Total],”currency”)
-
WSMarkLiquorman
AskWoody LoungerStatus = Switch(Left([Stage],6)=”Closed”,”Closed”,[Client Priority]=”On Hold”,”Inactive”,[Client Priorty]=”Awaiting Client”,”Inactive”,True,”Active”)
-
WSMarkLiquorman
AskWoody LoungerI don’t understand how Client_Priority and Stage are related. For example what if Client_Priority is “Low” (which yields an “Active” Status), but State is “Closed – Withdrawn” (“Closed” Status)?
-
WSMarkLiquorman
AskWoody LoungerThe quick way is to use: DateDiff(“yyyy”,[17 Init Date], [Enter Start date in format mm/dd/yyyy])
-
WSMarkLiquorman
AskWoody LoungerThe IIF statement evaluates both “sides”; that is, even if the condition is met, the other condition is also evaluated. So in your example, if Text40 is Null, then Val(text40) will fail. You might try Val(text40 + “”).
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Malwarebytes 5 Free version manual platform updates
by
Bob99
2 hours, 3 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
8 hours, 39 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
17 hours, 32 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
18 hours, 52 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
13 hours, 25 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 7 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 8 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
3 hours, 45 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
26 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 19 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
1 day, 23 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
1 day, 23 hours ago -
Unable to eject external hard drives
by
Robertos42
10 hours, 29 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
14 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
4 hours, 3 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 4 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 6 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 10 hours ago -
Upgrade Sequence
by
doneager
3 days, 3 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 9 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 2 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 7 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 8 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 7 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 1 hour ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 18 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
3 hours, 52 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 6 hours ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
2 days, 18 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
5 days, 8 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.