I have a form where I am calculating two fields and the rest are user entry fields. I want to keep the calculated fields as view only fields that the user can not access. I have the calculated fields set as Enabled = No and Locked = Yes. The first field that is a pure calculation
![]() |
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 |
-
Disabling fields on forms (Access 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Disabling fields on forms (Access 2003)
- This topic has 17 replies, 6 voices, and was last updated 19 years, 3 months ago.
Viewing 3 reply threadsAuthorReplies-
WSSteveH
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSDouglas Martin
AskWoody LoungerFebruary 3, 2006 at 3:03 pm #998218I agree with HansV – sounds to me like you have the Locked property set to Yes, but somehow you neglected to set the Enabled property to No. I don’t believe SteveH’s suggestion of turning off the Tab stop property will make any difference – my databases have lots of locked fields, some permanently locked and some locked and unlocked in code, and I don’t think I have ever played with the Tab stop property – if a field isn’t enabled there’s no way you can tab to it.
-
WSjwink
AskWoody LoungerFebruary 3, 2006 at 4:14 pm #998233I had missed the tab stop setting and setting it as suggested corrects the issue with landing on the field when tabbing or hitting enter. I can still click on the field and access the field enough that it displays the underlying numeric value instead of the Yes, No value. Interestingly if I leave the settings as Enabled = No, Locked = Yes and Tab Stop = Yes like the first field that is working correctly and just change the source to the same calculated value as the first field, then the second field also works just like the first field. If I put the Iif code back in it goes back to being accessible. The Iif statement seems to be a contributing factor
-
WSHansV
AskWoody Lounger -
WSpatt
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSpatt
AskWoody Lounger -
WSHansV
AskWoody LoungerFebruary 3, 2006 at 9:04 pm #998289 -
WSpatt
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSpatt
AskWoody LoungerFebruary 3, 2006 at 9:31 pm #998294It’s ok, I found it in post 535990, thank you.
-
WSpatt
AskWoody Lounger -
WSHansV
AskWoody LoungerFebruary 3, 2006 at 11:31 pm #998306 -
WSpatt
AskWoody LoungerFebruary 3, 2006 at 11:45 pm #998307This form is a modification of a terrible form in a database that I inherited. If I try to create a control at the moment it shows 708 as the number of the text box it is creating. The maximum number of controls in a form is 754 as you said in an earlier post.
I might have to recreate the form as you said.
-
-
WScharlotte
AskWoody Lounger -
WSpatt
AskWoody LoungerFebruary 4, 2006 at 4:46 am #998323Good call Charlotte.
I had forgotten that depending on the User I either Enable or Disable all controls on the form except command buttons. This must be the problem, I will prove it by using Debug.Print to see if the control is enabled. It was enabling it.
Thanks again Charlotte for making me go open my eyes.
I think I will leave the OnGotFocus code that forces the user back to the previous control. I have changed it to disable the 2 controls and delete the OnGotFocus code.
-
-
-
-
Viewing 3 reply threads -

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
-
Debian 12.11 released
by
Alex5723
1 hour, 50 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
5 hours, 32 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
3 hours, 1 minute ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
2 hours ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
22 hours, 27 minutes ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
12 hours, 52 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 1 hour ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
17 hours, 23 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
56 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
19 hours, 19 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 10 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 6 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
20 hours, 56 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
8 hours, 30 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
12 hours, 11 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days, 3 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days, 3 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 15 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 11 hours ago -
0Patch, where to begin
by
cassel23
2 days, 5 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 days, 1 hour ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 12 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 9 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 days ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
2 hours, 45 minutes ago -
Installer program can’t read my registry
by
Peobody
2 hours, 18 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 days, 22 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 days, 5 hours ago -
False error message from eMClient
by
WSSebastian42
3 days, 20 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.