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
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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, 4 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
-
How start headers and page numbers on page 3?
by
Davidhs
21 minutes ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
3 hours, 10 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
9 hours, 2 minutes ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
9 hours, 3 minutes ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
44 minutes ago -
Firefox 139
by
Charlie
11 hours, 26 minutes ago -
Who knows what?
by
Will Fastie
4 hours, 8 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
9 hours, 47 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
4 hours, 10 minutes ago -
Misbehaving devices
by
Susan Bradley
11 hours, 55 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
1 day, 15 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
9 hours, 13 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
1 day, 14 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
13 hours, 29 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day, 4 hours ago -
Rufus is available from the MSFT Store
by
PL1
1 day, 12 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
2 days, 15 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
15 hours, 16 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
13 hours, 59 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
2 days, 11 hours ago -
Office gets current release
by
Susan Bradley
2 days, 13 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
4 days, 3 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
3 days, 12 hours ago -
Stop the OneDrive defaults
by
CWBillow
4 days, 4 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
4 days, 14 hours ago -
X Suspends Encrypted DMs
by
Alex5723
4 days, 16 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
4 days, 17 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
4 days, 17 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
4 days, 18 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
4 days, 6 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.