-
WSgeofrichardson
AskWoody LoungerHi Ian
There was a wizard in Access 97 that found unmatched data …
Your solution will probably involve two key elementsa left join
&
a condition where somefieldName is Nulle.g
SELECT distinctrow tbl_x.fieldName FROM
tbl_x LEFT JOIN tbl_y ON
tbl_x.fieldName = tbl_y.fieldName
WHERE tbl_y.fieldName IS NULL;It is easier with teh Wizard
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi John
Have you checked to ensure that there are no criteria in either word or Access that are limiting the dataset …
Word MailMerge Query Options …
An Access query.
After that I would need more info on the datasource.
Is it a table, a query, if related tables are the relationships correct etc …Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
It is my belief that you should be more explict in you select statement. Select * selects all fields.In the FROM clause you can specify a field even if you havent explicitly named it in the select clause.
e.g
———
SELECT tblProperty.Address1, tblProperty.Town, tblPropHazard.Hazard, tblOwnershipDetails.OwnerID
FROM (tblProperty INNER JOIN tblPropHazard ON tblProperty.PropId = tblPropHazard.PropId) INNER JOIN (tblOwners INNER JOIN tblOwnershipDetails ON tblOwners.OwnerId = tblOwnershipDetails.OwnerID) ON tblProperty.PropId = tblOwnershipDetails.PropId;
————————Note that tblProperty.PropID is not explicitly listed in the select clause.
Hope I have helped
Geof -
WSgeofrichardson
AskWoody LoungerThanks for the ideas and the references ..
I think I have got around the problem like this
sub autonew
For each field in activedocument.fields
field.update
next
end subIf this doesnt work then back to userforms …
Many thanks
I find your sites very useful and appreciate the lounge immenselyGeof
-
WSgeofrichardson
AskWoody LoungerHi Deborah
Try this userdefined functionFunction CountDateBetween(inRange, minDate As Date, maxDate As Date)
Dim MinCtr, MaxCtr As Integer ‘counter for dates exceeding limits
MinCtr = Application.CountIf(inRange, “>=” & minDate)
MaxCtr = Application.CountIf(inRange, “>” & maxDate)
CountDateBetween = MinCtr – MaxCtr
End FunctionCopy & paste into the personal workbook macros. This workbook is normally hidden.
You will be then able to invoke thefunction using the function wizard (fx button) from the user defined category.Cheers
Geof -
WSgeofrichardson
AskWoody Lounger -
WSgeofrichardson
AskWoody LoungerHi
This is crude but it may work for youAssume Birthday in a1
Calc Age in a2 with=(today()-a1)/365
You will need to format A2 a number, say two decimal places.
There are far more sophisticated calculations about.Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
I cant help with the MAPI, all I know is that MicSoft doesnt make it easy to coHabitate
Try this sitehttp://www.novell.com/coolsolutions/gwmag/
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
One way of achieving this would be to bookmark separately the entries in the Name & address blocks of the letter. I used the bookmark Names “Name” & “Address”.In the header / footer of section 2 of the document use the ref field and the bookmark name
eg {ref Name}
{ref Address}Insert a field with INSERT>Field or CTRL+F9
Hope this helps
Geof -
WSgeofrichardson
AskWoody LoungerSorry
Gave a response for AutoText …Try article Q186237 on the MicSoft support knowledge base
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
I go into the organiser (from FORMAT>Style) choose the autotext tab, select the appropriate template and create multiple selection in the autotext list and delete …
All or some at one shot.
Cheers
GeofPS Microsoft have a macro (Macro8), I think that contains a routine to back up / rstore autotext/correct entries.
-
WSgeofrichardson
AskWoody LoungerHi Meryl
Has anyone been messing around customizing formatting styles and subsequently merged them into the default template ?Geof
-
WSgeofrichardson
AskWoody LoungerHi
The following should loop thru the directory open/close each of the documents. No guarantees though.
============================================
sub loopingLabels
Dim FS
Dim i As Integer
Set FS = Application.FileSearch
Dim strFileName()
Application.ScreenUpdating = FalseWith FS.PropertyTests
.Add Name:=”Files of Type”, _
Condition:=msoConditionFileTypeWordDocuments, _
Connector:=msoConnectorOr
End WithWith FS
‘ set you path here in the lookIn statement
.LookIn = “C:DataWordDocs”
ReDim strFileName(FS.FoundFiles.Count)
MsgBox (FS.FoundFiles.Count)’optional lineIf .Execute(SortBy:=msoSortByFileName, _
SortOrder:=msoSortOrderAscending) > 0 Then
For i = 1 To .FoundFiles.Count
strFileName(i) = .FoundFiles(i)
Documents.Open (strFileName(i))
‘———————————————–
‘do something here to make label ??
‘———————————————–
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
Next i
Else
MsgBox “There were no files found.”
End If
End With
Set FS = Nothing
End Sub
================================================
I hope this is a starter, sorry about the do something here to make labels.
It is all smoke & mirrors !!Cheers
G -
WSgeofrichardson
AskWoody LoungerHi
Just a crazy from the antipodes ..
What happens if you change keyboards ?
Clutching at straws !! maybe but I guess you are excited by now.Geof
-
WSgeofrichardson
AskWoody LoungerHi Jefferson
Thank you for that. I will give it a try.
However that CDO.DLL is not listed on the system that is working.
This is a learning experience ..
Geof
![]() |
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
-
Sometimes I wonder about these bots
by
Susan Bradley
8 minutes ago -
Does windows update component store “self heal”?
by
Mike Cross
1 hour, 56 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 hours, 56 minutes ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
2 hours, 21 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
3 hours, 2 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
5 hours, 38 minutes ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
5 hours, 39 minutes ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
12 hours, 40 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
13 hours, 47 minutes ago -
0Patch, where to begin
by
cassel23
7 hours, 49 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
1 day, 3 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
15 hours, 10 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
1 day, 11 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
1 day, 2 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
14 hours, 4 minutes ago -
Installer program can’t read my registry
by
Peobody
9 hours, 1 minute ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
1 day ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
1 day, 8 hours ago -
False error message from eMClient
by
WSSebastian42
1 day, 23 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
2 days, 8 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
2 days, 9 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
1 day, 5 hours ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 days, 12 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
1 day, 13 hours ago -
Outdated Laptop
by
jdamkeene
2 days, 18 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 23 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 23 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
1 hour, 33 minutes ago -
May 2025 updates are out
by
Susan Bradley
3 hours, 14 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
3 days, 5 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.