How to set the validation rule property in Access so that it cannot be null? Select the field, right-click and select Properties. In the Validation Rules tab, enter the validation rule: Is not Null. In Validation message, enter the error message you want to display. Click OK to save changes. Attempt to enter a null value and a verification message will be displayed.
How to set the validation rule property in Access and cannot be empty
Step 1: Select the Set fields for validation rules
In the Access table design view, select the fields for which you want to set validation rules.
Step 2: Open the Field Properties dialog box
- Right-click the field and select Properties.
- Alternatively, on the Fields tab, in the View group, click Property Table.
Step 3: Set Validation Rules
On the Validation Rules tab of the Field Properties dialog box, enter the following validation rules:
<code>Is not Null</code>
Step 4: Set Validation Message
In the Validation Message field, enter the message you want to display when a null value is entered. For example:
<code>字段不可为空。</code>
Step 5: Click OK
Click OK to save changes and close the Field Properties dialog box.
Step 6: Test the validation rules
Attempt to enter NULL values in the table for the affected fields. If you enter a null value, you will see the validation message you set.
The above is the detailed content of How to set the verification rule attribute in Access cannot be empty. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version
Recommended: Win version, supports code prompts!

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
