-
WSmuscle
AskWoody LoungerThanks for the quick response Hans! I gave that a shot, but I’m getting an error, an action failed. Any clues?
Action Name:
OutputTo
Arguements:
3, Summary by Association, RichTextFormat(*.rtf), sharepointsitesteamsitesHOAProjectsreplacementreserveReports” & [Forms]![frmReports]![lstReports] & Format(Now();”yyyymmddhhnnss”) & “.rtf”, No, , 0 -
WSmuscle
AskWoody LoungerA macro to execute after opening the workbook on the toolbar.
-
WSmuscle
AskWoody LoungerHi Hans,
Thanks for the suggestion. I gave it a shot, but no luck. Same behavior.
-
WSmuscle
AskWoody LoungerActually, I don’t have a validation rule in the table design. But, I do have the field set as required and also to disallow zero length.
-
WSmuscle
AskWoody Lounger(Edited by HansV to make URL clickable – see Help 19)
Nevermind, resolved. In case anyone is interested, the following link gives a great example…
http://www.databasedev.co.uk/blank_query_parameter.html%5B/url%5D
-
WSmuscle
AskWoody LoungerThat did it! Thank you! Just curious, why do I need the # signs before the zeros?
-
WSmuscle
AskWoody LoungerUnfortunately, the database is actually a pervasive database, which makes up our Accounting back office software. I use Microsoft Access as a front end reporting tool for the users. Unfortunately, the database has an owners table with multiple records for each user, with an owner id as the identifying record. So for example, I can have the following:
1-53001, Test User, Addr1, City, State, Zip
2-53004, Test User, Addr1, City, State, ZipThe 1-53 being one property and 2-53 meaning another…
-
WSmuscle
AskWoody LoungerSELECT IIf([Client Version].[Version_ID]=[Version].[Version_ID],”True”,”False”) AS Test
FROM [Client Version], Version;I’m trying to test the version of the users front end against the newest version. If it is true, that means the user has the most up to date copy, otherwise if it’s false, then I’d like to run a macro that informs the user via a message box to contact me to get the new version, and then automatically closes without letting the user proceed. I’ve got the macro complete, I’m just not certain on how to complete the other.
-
WSmuscle
AskWoody LoungerThank you for the replies. So I added the form.
Sub IdleTimeDetected(ExpiredMinutes)
DoCmd.OpenForm “frmWarning”
End SubBut is it possible to have it display for a minute then automatically shut down if nothing is detected?
-
WSmuscle
AskWoody LoungerI just used the example from the Microsoft site. You’re correct, they will not be saving. They simply use the app to view reports and utilize forms to edit and add data. As a result, should I just use the following instead:
Application.Quit
Instead of Application.Quit acSaveYes
-
WSmuscle
AskWoody LoungerHi Hans,
I implemented the code in the link you provided. But I had a few questions…
1. I’m using the automatic close
Sub IdleTimeDetected(ExpiredMinutes)
Application.Quit acSaveYes
End SubIs it possible to display a popup message and still automaticall close a few seconds after. For example, we have detected Inactivity, this application will automatically close in one minute? Additionally, I have set my db to automatically compact and repair on exit, does this still occur if it shuts down like so? As always, thank you for any input.
-
WSmuscle
AskWoody LoungerPatt,
The Cancel=True code worked perfectly. Thank you, thank you, thank you!!!
-
WSmuscle
AskWoody LoungerI revised my code and came up with the following…
Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer)
If Me.ACH_Status = True Then
Me.PageFooterSection.Visible = False
Else
Me.PageFooterSection.Visible = True
End If
End SubThis works for the first ACH_Status that is true. But it does not reset on the next example. It corrects itself in a later instance and then messes up again. It’s almost like it sets a session and doesn’t reset. Any clues…
-
WSmuscle
AskWoody LoungerHi Jerry,
Thanks for the response. I gave your code a try, but can’t get it to work correctly. Here is what I have so far…
Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer)
If ACH_Status = Yes Then
Me.PageFooterSection.Visible = False
Else
End If
End SubBasically if ACH_Status is = Yes, then I want the section to be hidden. Otherwise, display the footer. At the moment, the code above hides the footer no matter what. Thanks again for your assistance.
-
WSmuscle
AskWoody LoungerThanks! Another question. Is there a “safe way” to record the user versus using the previous function.
![]() |
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
-
How much I spent on the Mac mini
by
Will Fastie
4 hours, 3 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
4 hours, 5 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
4 hours, 6 minutes ago -
Setting up Windows 11
by
Susan Bradley
4 hours, 6 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
4 hours, 27 minutes ago -
Powershell version?
by
CWBillow
1 hour, 12 minutes ago -
SendTom Toys
by
CWBillow
5 hours, 30 minutes ago -
Add shortcut to taskbar?
by
CWBillow
6 hours, 35 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
15 hours, 25 minutes ago -
How can I install Skype on Windows 7?
by
Help
14 hours, 7 minutes ago -
Logitech MK850 Keyboard issues
by
Rush2112
8 hours, 52 minutes ago -
We live in a simulation
by
Alex5723
1 day, 5 hours ago -
Netplwiz not working
by
RetiredGeek
16 hours, 7 minutes ago -
Windows 11 24H2 is broadly available
by
Alex5723
1 day, 17 hours ago -
Microsoft is killing Authenticator
by
Alex5723
5 hours, 36 minutes ago -
Downloads folder location
by
CWBillow
2 days ago -
Remove a User from Login screen
by
CWBillow
20 hours, 2 minutes ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
1 day, 15 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
1 day, 15 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
1 day, 20 hours ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
1 day, 14 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
14 hours, 10 minutes ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 4 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 5 hours ago -
World Passkey Day 2025
by
Alex5723
1 hour, 13 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
3 days, 13 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
1 day, 14 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
3 days, 18 hours ago -
Win11 24H4 Slow!
by
Bob Bible
3 days, 18 hours ago -
Microsoft hiking XBox prices starting today due to Trump’s tariffs
by
Alex5723
3 days, 15 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.