Home Topics Access What is a form control that can accept numerical data input?

What is a form control that can accept numerical data input?

Feb 01, 2021 am 11:41 AM
access

The form control that can accept numerical data input is the "text box". There are some basic controls in the form in Access. The text boxes are mainly used to enter or edit data and are bound to field data.

What is a form control that can accept numerical data input?

The operating environment of this tutorial: Windows 10 system, Dell G3 computer, Microsoft Office Access2019.

Commonly used controls in access forms - text boxes

The text box can be said to be the most commonly used control in the form, and the most commonly used one is binding. The text box from which the control comes, that is, the text box that displays the table/query fields. The text box is mainly used to enter or edit data and is bound to field data.

When the form itself has no record source, you can also arrange some unbound text boxes. For example, some friends need to edit records first and then add or update table data through the save button. This is how they do it.

As the most commonly used control in forms, the text box has very complete properties. Such as: format, mask, default value, input method, validity, multi-line, display, available, locked, etc., as well as many background colors, foreground colors (font colors), border settings, and many events.

Since text boxes are often used by everyone, they should be familiar with them. Here are just a few to talk about.

Can be expanded or reduced: This property can only be used when printing or previewing the form. Only the display of form sections and controls will be affected. When displayed in other views, it will not be affected.

When to display: Here you can set whether the form is displayed or when the form is printed. In fact, most of them have this property, but we don’t often print the form and rarely pay attention to it. .

Validity rules and validity text: Here you can set the rules for the value of this text box. For example: if you want to set this value to a positive value, then enter in the validity rule: >0, enter in validity text: Please enter a value greater than zero here. It should be noted again that validation rules can also reference other controls.

The help explains it in more detail. The excerpt is as follows:

When editing data and the focus leaves the field or control, the validity rules set by the field and control will be applied. .

When moving to other records, the record's validity rules will be applied.

If a field and a control bound to the field have validation rules created, both validation rules will be applied when the data is edited and the focus leaves the control.

Available and locked: If some fields of a form are not expected to be edited by users, they can be locked. In the case of locking, it can still get focus, but cannot be edited. If available is set to No, Then, it doesn't even have a chance to get focus. If both available and locked are negative, it will be grayed out.

Tab key index: Most friends probably don’t pay attention to this little thing. In fact, for a rigorous interface, it is indeed quite important. Its function is to respond to the focus transfer sequence when the keyboard operates the Tab key. In fact, the real settings are usually not set directly in the properties dialog box, but in the pop-up dialog box of "View" - "Tab Key Order" in the menu.

If you want the Tab key to ignore skipping of a control, you can set its tab stop property to No.

When you press the Tab key continuously, the cursor may jump to the next record, which may cause trouble for some friends' single form design. The solution is: loop the form The property is set to the current record.

The text box control can not only bind the displayed field value, but also display the value of the expression, that is: =..., click the small three-dot button to the right of the control source property to start the expression generator , you can edit your expression.

The text box control can be changed to: label, combo box, list box

After changing to a label, the binding will be automatically lost

Shortcut menu bar: If you have customized For shortcut menus, in this property you can select from the following boxes.

Control prompt text: The text content entered on this property will pop up a prompt when the mouse points to the text box and stays briefly in your form view.

For more knowledge about computer programming, please visit: Programming Video! !

The above is the detailed content of What is a form control that can accept numerical data input?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications May 07, 2024 pm 04:20 PM

1. Open settings in Windows 11. You can use Win+I shortcut or any other method. 2. Go to the Apps section and click Apps & Features. 3. Find the application you want to prevent from running in the background. Click the three-dot button and select Advanced Options. 4. Find the [Background Application Permissions] section and select the desired value. By default, Windows 11 sets power optimization mode. It allows Windows to manage how applications work in the background. For example, once you enable battery saver mode to preserve battery, the system will automatically close all apps. 5. Select [Never] to prevent the application from running in the background. Please note that if you notice that the program is not sending you notifications, failing to update data, etc., you can

How to convert deepseek pdf How to convert deepseek pdf Feb 19, 2025 pm 05:24 PM

DeepSeek cannot convert files directly to PDF. Depending on the file type, you can use different methods: Common documents (Word, Excel, PowerPoint): Use Microsoft Office, LibreOffice and other software to export as PDF. Image: Save as PDF using image viewer or image processing software. Web pages: Use the browser's "Print into PDF" function or the dedicated web page to PDF tool. Uncommon formats: Find the right converter and convert it to PDF. It is crucial to choose the right tools and develop a plan based on the actual situation.

What does dao mean in java What does dao mean in java Apr 21, 2024 am 02:08 AM

DAO (Data Access Object) in Java is used to separate application code and persistence layer, its advantages include: Separation: Independent from application logic, making it easier to modify it. Encapsulation: Hide database access details and simplify interaction with the database. Scalability: Easily expandable to support new databases or persistence technologies. With DAOs, applications can call methods to perform database operations such as create, read, update, and delete entities without directly dealing with database details.

Can't allow access to camera and microphone in iPhone Can't allow access to camera and microphone in iPhone Apr 23, 2024 am 11:13 AM

Are you getting "Unable to allow access to camera and microphone" when trying to use the app? Typically, you grant camera and microphone permissions to specific people on a need-to-provide basis. However, if you deny permission, the camera and microphone will not work and will display this error message instead. Solving this problem is very basic and you can do it in a minute or two. Fix 1 – Provide Camera, Microphone Permissions You can provide the necessary camera and microphone permissions directly in settings. Step 1 – Go to the Settings tab. Step 2 – Open the Privacy & Security panel. Step 3 – Turn on the “Camera” permission there. Step 4 – Inside, you will find a list of apps that have requested permission for your phone’s camera. Step 5 – Open the “Camera” of the specified app

What does field mean in java What does field mean in java Apr 25, 2024 pm 10:18 PM

In Java, a "field" is a data member in a class or interface that is used to store data or state. The properties of field include: type (can be any Java data type), access rights, static (belongs to a class rather than an instance), final (immutable) and transient (not serialized). Field is used to store state information of a class or interface, such as storing object data and maintaining object state.

How to read the Oracle stored procedure execution plan How to read the Oracle stored procedure execution plan Apr 18, 2024 pm 10:18 PM

Oracle stored procedure execution plans provide execution information, including access paths, estimated number of rows, join order, and costs. To view the execution plan, execute the EXPLAIN PLAN command and look for the "Execution Plan" section. The execution plan contains a header and body, showing in detail the ID, operation type, number of rows, cost, access path, filter conditions, involved tables and indexes, and the connection sequence if there is a connection.

How does the Java reflection mechanism modify the behavior of a class? How does the Java reflection mechanism modify the behavior of a class? May 03, 2024 pm 06:15 PM

The Java reflection mechanism allows programs to dynamically modify the behavior of classes without modifying the source code. By operating the Class object, you can create instances through newInstance(), modify private field values, call private methods, etc. Reflection should be used with caution, however, as it can cause unexpected behavior and security issues, and has a performance overhead.

How to read dbf file in oracle How to read dbf file in oracle May 10, 2024 am 01:27 AM

Oracle can read dbf files through the following steps: create an external table and reference the dbf file; query the external table to retrieve data; import the data into the Oracle table.

See all articles