Hi Folks,
Yesterday, while teaching an Access 2003 level 1 course, one student asked if she deleted information from a required field in a form and then closed it, if the information would be gone from the table. I told her that she would not be able to close the form or access another record until there was information in the required field. I told her to go ahead and try it. To my astonishment, she did exactly that. When she closed the form and opened the table, the required field was empty. I immediately checked the required property and it was set to yes. I can’t make this happen on my PC. Has anyone else ever experienced this?
![]() |
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 |
-
Required fields (2003)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Required fields (2003)
- This topic has 8 replies, 2 voices, and was last updated 17 years, 1 month ago.
AuthorTopicWSELB01
AskWoody LoungerApril 16, 2008 at 5:34 pm #450270Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerApril 16, 2008 at 5:47 pm #1105884If you have a text field with Required set to Yes and with Allow Zero Length also set to Yes, you can clear the field – it will contain an empty string “”. Since this is different from a Null value, you don’t get an error message. If you want to avoid this situation, set the Allow Zero Length property of the field to No.
-
WSELB01
AskWoody LoungerApril 16, 2008 at 6:48 pm #1105892Thanks Hans, didn’t notice that. However, when I change Allow zero length string back to no, I can still open and close both the table and form with no info in the required field (it’s a soc sec number field). This shouldn’t be allowed to happen should it, the field even has an input mask, I would think one or the other properties should take care of this, no?
-
WSHansV
AskWoody Lounger -
WSELB01
AskWoody Lounger -
WSHansV
AskWoody LoungerApril 16, 2008 at 9:10 pm #1105905I don’t think it’s a bug. Under normal circumstances it’s only necessary to check for required fields etc. when the record has been modified. Performing these checks whenever the user exits a record, even if it hasn’t been changed, would be superfluous and have a negative effect on performance – scrolling through the records of a form would slow down significantly.
-
WSELB01
AskWoody LoungerApril 17, 2008 at 4:45 pm #1105969When I duplicate the creation of the practice table that I use in class, the allow zero length property is set to yes by default on all my text fields.
The help files say that no is the default setting (it always has been in all the classes that I’ve taught). I’m just wondering what changed and when it changed.
Does anyone know how I can change the default back to no? -
WSHansV
AskWoody LoungerApril 17, 2008 at 4:52 pm #1105970The default for Allow Zero Length was No in Access 97, and it has been Yes in Access 2000 and all later versions. There is no way to change this default, you have to change it for each new text field.
Allen Browne has written code that will set Allow Zero Length to No for all text fields (except in the Switchboard Items table where this would cause other problems) – see Microsoft Access Flaws – Problem properties (contains other useful info too).
-
WSELB01
AskWoody Lounger
-
-
-
-
Viewing 0 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
-
Who knows what?
by
Will Fastie
1 hour ago -
My top ten underappreciated features in Office
by
Peter Deegan
2 hours, 54 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
14 minutes ago -
Misbehaving devices
by
Susan Bradley
3 hours, 34 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
16 hours, 40 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
12 hours, 24 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
15 hours, 14 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
15 hours, 23 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
5 hours, 32 minutes ago -
Rufus is available from the MSFT Store
by
PL1
13 hours, 35 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 16 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
22 hours, 50 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
19 hours, 2 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 12 hours ago -
Office gets current release
by
Susan Bradley
1 day, 14 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 4 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 13 hours ago -
Stop the OneDrive defaults
by
CWBillow
3 days, 5 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 15 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 17 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 18 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 18 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 19 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days, 7 hours ago -
Enabling Secureboot
by
ITguy
3 days, 14 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 3 hours ago -
No more rounded corners??
by
CWBillow
3 days, 23 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 12 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 15 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 18 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.