-
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
-
Windows 7 ISO /Windows 10 ISO
by
ECWS
51 minutes ago -
No HP software folders
by
fpefpe
47 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
2 hours, 8 minutes ago -
Stay connected anywhere
by
Peter Deegan
5 hours, 21 minutes ago -
Copilot, under the table
by
Will Fastie
2 hours, 35 minutes ago -
The Windows experience
by
Will Fastie
11 hours, 35 minutes ago -
A tale of two operating systems
by
Susan Bradley
2 hours, 32 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
16 hours, 55 minutes ago -
Where’s the cache today?
by
Up2you2
1 day, 8 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 1 hour ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 hour, 21 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 8 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 1 hour ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 1 hour ago -
regarding april update and may update
by
heybengbeng
2 days, 3 hours ago -
MS Passkey
by
pmruzicka
1 day, 5 hours ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 10 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 21 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 9 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 5 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 14 hours ago -
AI slop
by
Susan Bradley
1 day, 8 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 15 hours ago -
Two blank icons
by
CR2
23 hours, 50 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 1 hour ago -
End of 10
by
Alex5723
4 days, 3 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
3 days, 1 hour ago -
test post
by
gtd12345
4 days, 9 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 23 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
2 days, 1 hour 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.