-
WSherworth
AskWoody LoungerCharlotte
Thanks alot. That’s sorted it.
Peter -
WSherworth
AskWoody LoungerThanks for your advice too
Peter -
WSherworth
AskWoody LoungerDave
Thanks for the help. I’ve upgraded to 6 so we’ll see how it goes.
Peter -
WSherworth
AskWoody LoungerIf you don’t want it exact to the day then your query needs a calculated field ,say, AGE:(Now()-[DOB])/365. Assuming your field is called[DOB] and you want your new field to be called [AGE]. This should give you the age in years to 2 (or more) decimal places (i haven’t actually tried it but I’m pretty sure).
Peter Herworth -
WSherworth
AskWoody LoungerI’ve used Acrobat and Publisher many times and it works superbly. Acrobat creates a print driver and instead of printing to your printer you print to a PDF.
Simple and effective. I can recommend it.
Peter Herworth -
WSherworth
AskWoody LoungerJohnMichael
I was a little hasty with my response before and didn’t think properly. The code I refered to is applied to ‘After_Update’ property of one of the fields you are updating (not Invoice No). I then have a small form based on a query which queries the last invoice no of the table you are working on. The After UD code looks up the small form and makes ‘Invoice No’ of new record ‘Last No’ (from small form) +1. It sounds long-winded but I promise you the code whizzes through it.
(I hope you understand what I’m trying to explain).
Peter Herworth -
WSherworth
AskWoody LoungerI did something similar with record nos where autonumber was not suitable. If you add code to the before update property of the ‘invoice no’ field (not part of your append query code) which looks up the previous record and adds 1, I think you will find this works.
Peter Herworth -
WSherworth
AskWoody LoungerCheck this site http://www.mvps.org/word/FAQs/index6.html
I think you’ll find your answer.
Peter HerworthGeoffW – hyperlinks added
-
WSherworth
AskWoody LoungerAndrew
That did it for me. Thanks a lot.
I really should have been able to find that for myself. Perhaps this forum makes it too easy for us – but it is a great help.
Thanks again.
Peter Herworth -
WSherworth
AskWoody LoungerI find it much better to run ‘transfertext’ to a .txt file and then ‘runapp’ (or shell) to open the Word file which is merged with the specific .txt file. Otherwise I always found that Word tried to open Access again and all sorts of little annoyances occurred. You can do it with a macro or code whichever is easier for you.
Peter Herworth -
WSherworth
AskWoody LoungerTry this:
If “Your Option Group Name (not Me!optTCHistory)” = 1 Then
DoCmd.OpenReport “rptEmployee”, acViewPreview, “”, “”, acNormal
Else
DoCmd.OpenReport “rptEmployee Benefits”, acViewPreview, “”, “”, acNormal
End If
End Sub
This defaults to the second option. You could of course, turn it round. But I think you must have the name of the whole option group rather than the name of each option.
Best of luck.
Peter herworth -
WSherworth
AskWoody LoungerIf you know the code for it , open your web page, go to view source and insert your code in Notepad. Save ,close, refresh web page and there it is!
-
WSherworth
AskWoody LoungerAugust 28, 2001 at 5:49 pm in reply to: Not displaying #N/A within an Array formula (Excel 97) #539470Your answer was in a recent WOW mailer but I can’t remember which one (2 or 3 issues back). You use “=IF(ISNA(Your Formula),0,(Your Formula))”.
-
WSherworth
AskWoody LoungerYou can do it with labels (anywhere within the label) by setting the on-click property to code or a macro. So although I haven’t tried it without any text I’m sure you would get your invisible area with a blank label and some code. If it wont accept a blank label put some text in with the font colour set to background colour.
-
WSherworth
AskWoody LoungerThanks Charlotte – I suspected something like that.. The trouble is because it is asynchronous I can’t close it from within the code until I’ve checked and printed it and I need to check it first. Is there a way round that or am I going to have to start learning something new with these samples I’ve downloaded from the site you mention.
Thanks again. I’ll try it
Peter H
![]() |
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
-
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
3 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
3 hours, 24 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
8 hours, 30 minutes ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
20 hours, 25 minutes ago -
Problem using exfat drives for backup
by
Danmc
20 hours, 43 minutes ago -
I hate that AI is on every computer we have!
by
1bumthumb
22 hours, 2 minutes ago -
Change Info in the Settings window
by
CWBillow
1 day, 3 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
1 day, 9 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
19 hours, 33 minutes ago -
Use of Gmail rejected.
by
CBFPD-Chief115
20 hours, 13 minutes ago -
WuMgr operational questions
by
Tex265
2 hours, 39 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
2 days, 1 hour ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
1 day, 1 hour ago -
Backing up Google Calendar
by
CWBillow
2 days, 7 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
2 days, 20 hours ago -
File Naming Conventions (including Folders)
by
Magic66
1 day, 19 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
3 days, 3 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
2 days, 14 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
1 day, 20 hours ago -
Adding Microsoft Account.
by
DaveBRenn
3 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
4 days, 4 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
4 days, 4 hours ago -
Windows 11 won’t boot
by
goducks25
1 day, 21 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
3 days, 18 hours ago -
Rest in Peace
by
Roy Lasris
4 days, 23 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
1 day, 20 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
4 days, 23 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
1 day, 15 hours ago -
Long Time Member
by
jackpet
5 days, 2 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
1 hour, 41 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.