-
WSSteveH
AskWoody LoungerI don’t know, something is wrong. I did a File | Save As, and the new object didn’t show until I closed/re-opened (or compact/repaired). And like I said, this just started happening.
Thank you for confirming that I am not losing my marbles (yet). I had the same situation in the classroom the other day with File – Save As for an amended query (demonstrating different ways of forming criteria).
-
WSSteveH
AskWoody LoungerMarch 4, 2013 at 5:15 pm in reply to: Access Report not calling all Event vba procedures, what’s up with that? #1378093Are you opening the reports in Report Preview as opposed to Print Preview? VBA code does not run in Report Preview.
-
WSSteveH
AskWoody LoungerMake sure that the database is in a Trusted Location.
-
WSSteveH
AskWoody LoungerDo the offending sub-forms have any calculations or conditional formatting in them?
What Sevice Packs (if any) do you have installed for A2K3?
-
WSSteveH
AskWoody LoungerThis post explains.
-
WSSteveH
AskWoody Loungeryou need to make sure that your DB is in a Trusted Location otherwise all code is disabled.
-
WSSteveH
AskWoody LoungerMe.Done = True should check the checkbox.
-
WSSteveH
AskWoody LoungerYou are right I have it backwards. How would the code change by changing focus? I am still learning how to code in Access.
The Error number is 2164 – You can’t disable a control while it has the focus.
Your code should look something like:
Private Sub Days_AfterUpdate()
Dim response As Integer
response = MsgBox(“Is this value correct?”, vbYesNo)
If response = vbYes Then
Me.SomeOtherControl.SetFocus
Me.Days.Enabled = False
Else
Me.Days.Enabled = True
End If
End Sub -
WSSteveH
AskWoody LoungerYou probably need to move the focus away from the textbox before you disable it (assuming Days is a textbox).
-
WSSteveH
AskWoody LoungerIf those add on days are always going to be the same you should not be storing the values in fields. You should calculate them as and when you need them in queries.
You are violating the rules of normalisation by doing what you propose.
-
WSSteveH
AskWoody LoungerI found similar behaviour after I had used an add-in (IIRC it was Helen Feddema’s rename add-in).
Closing and re-opening Access cured it so I guess it was a DoCmd SetWarnings False not followed by a reset to True.
-
WSSteveH
AskWoody LoungerDo NOT feel this way! Access2007 is a royal “pane”. Stuff you used to be able to do in 2 clicks is now buried. For the most part, it seems Microsoft decided to make changes merely so they could say they changed it. Never mind that it didn’t particularly add functionality or that it alienates existing users and developers.
OK, done with my rant.
Glad it isn’t just me then! I really think that MS lost the plot with the Access 2007 interface and some of the new features
Think multi-valued fields for one!)
-
WSSteveH
AskWoody LoungerHave you checked Grouping and Sorting and conditional formatting? These odd parameter prompts can hide away there sometimes (though I cannot see why the Access version should make a difference).
-
WSSteveH
AskWoody Lounger -
WSSteveH
AskWoody LoungerChange the datatype from Long Integer to Single or Double.
![]() |
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
-
Asking Again here (New User and Fast change only backups)
by
thymej
31 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
12 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
43 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
5 hours, 27 minutes ago -
Setting up Windows 11
by
Susan Bradley
21 seconds ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
55 minutes ago -
Powershell version?
by
CWBillow
1 hour, 48 minutes ago -
SendTom Toys
by
CWBillow
12 hours, 12 minutes ago -
Add shortcut to taskbar?
by
CWBillow
5 hours, 43 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
22 hours, 6 minutes ago -
How can I install Skype on Windows 7?
by
Help
20 hours, 48 minutes ago -
Logitech MK850 Keyboard issues
by
Rush2112
3 hours, 43 minutes ago -
We live in a simulation
by
Alex5723
1 day, 12 hours ago -
Netplwiz not working
by
RetiredGeek
22 hours, 48 minutes ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days ago -
Microsoft is killing Authenticator
by
Alex5723
12 hours, 17 minutes ago -
Downloads folder location
by
CWBillow
2 days, 7 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 2 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
1 day, 22 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
1 day, 22 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
22 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
1 day, 21 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
20 hours, 51 minutes ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 11 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 11 hours ago -
World Passkey Day 2025
by
Alex5723
7 hours, 54 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
3 days, 20 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
1 day, 21 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
4 days ago -
Win11 24H2 Slow!
by
Bob Bible
57 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.