What is the difference between format and input mask attributes in table fields
The difference between format and input mask attributes in table fields is: 1. Different applicability, mask is used for input, format is used for display; 2. Different functions, mask can be used to protect data , you can also set a fixed format for input, and the format is mainly used to set the type of data, which determines whether the execution of the query is valid.
The operating environment of this article: Windows 7 system, Dell G3 computer.
The difference between "format" and "input mask"
1. Different applicability
The mask is used for input, and the format is used for display.
2. Different functions
Mask can be used to protect data, and a fixed format can also be set for input.
Format is mainly used to set the type of data. It determines whether the execution of the query is valid, especially on the join between tables. When the types do not match, the query will not be executed.
Extended information
The mask in access displays the editing characters that guide data input, restricting the type and form of data entered in the field.
Masks are used when designing tables, and their effects are obvious, such as when applying rules such as ID cards and passwords.
1. For the input mask of "Only 4 digits can be entered", fill in "0000".
2. For the input mask of "Only 4 digits or symbols can be entered", fill in "AAAA".
3. For the input mask of "Only enter 4 digits or spaces", fill in "9999" or "
#".For more related knowledge, please visit PHP Chinese website
! ###The above is the detailed content of What is the difference between format and input mask attributes in table fields. 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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools