Home Topics Access What special characters cannot be used in the access database?

What special characters cannot be used in the access database?

Mar 09, 2021 am 10:41 AM
access database Special characters

What special characters cannot be used in the access database?

Although Microsoft Access database does not restrict the use of special characters in object names or field names, such as number marks (#), periods (,) or double quotes ("") marks, but if We have used special characters and may encounter unexpected errors.

Therefore, Microsoft recommends that you do not use special characters in database object names in Access databases or database projects. This article will discuss some special characters that you must avoid using. We already know that certain problems occur with these special characters.

When you use Access or use other applications such as Microsoft Visual Basic applications or Active Server Pages (ASP) applications, you must avoid using the following special characters:

Spaces

Double quotation mark "

Apostrophe '

grave note `

Number mark

#Percent sign %

Greater than sign >

Less than sign <

Exclamation mark !

Period .

Brackets [or ]

Star *

Dollar sign $

Semicolon;

Colon:

Question mark ?

Caret ^

Parentheses (or )

Plus sign

Backslash \

Access Naming Convention Microsoft recommends that you do not use function names, variable names, field names, or database objects ( For example, use a period (.), exclamation point (!), accent mark (`), square brackets ([ ]), space ( ), or double quotation mark (") in the name.

For more information about naming conventions in Access, click Microsoft Access Help on the Help menu, type names for fields, controls, and objects in the Office Assistant or the Answer Wizard Name the rule and click Search to view the topic.

Some known issues may occur if you use the following special characters in Access. The following situations describe when you must avoid using these special characters:

When you export database objects to other file formats (such as the Microsoft Excel file format, HTML file format, or some text file format) , do not use number signs (#) or periods (.) in database object names or field names.

When you use hyperlinks in Access, they are stored as modified "Notes" fields, separated by number signs (#). Therefore, numeric tokens are considered reserved words in Access. Do not use number tags when creating hyperlinks.

If you import a text file into Access and the text file contains tabs or other special characters, the special characters are converted and then the special characters appear as boxes. Therefore, you encounter unexpected errors when you try to use the imported table. When you import a table into Access, be sure not to use special characters in the source table.

When you use ASP forms to add or modify data in an Access database, you must not use the percent sign (%), plus sign (), or caret (^) in the form. These special characters are not converted correctly in Access databases.

When using a full-width character language, do not use full-width characters in the names of database objects or controls. For example, when using a double-width character language, you must not use full-width parentheses. Using full-width parentheses can cause a compilation error if there is code within an object or control's event procedure.

Related recommendations: access database tutorial

The above is the detailed content of What special characters cannot be used in the access database?. 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)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months 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 solve the problem of third-party interface returning 403 in Node.js environment? How to solve the problem of third-party interface returning 403 in Node.js environment? Mar 31, 2025 pm 11:27 PM

Solve the problem of third-party interface returning 403 in Node.js environment. When we use Node.js to call third-party interfaces, we sometimes encounter an error of 403 from the interface returning 403...

Laravel Redis connection sharing: Why does the select method affect other connections? Laravel Redis connection sharing: Why does the select method affect other connections? Apr 01, 2025 am 07:45 AM

The impact of sharing of Redis connections in Laravel framework and select methods When using Laravel framework and Redis, developers may encounter a problem: through configuration...

MySQL: Simple Concepts for Easy Learning MySQL: Simple Concepts for Easy Learning Apr 10, 2025 am 09:29 AM

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

What are the benefits of multithreading in c#? What are the benefits of multithreading in c#? Apr 03, 2025 pm 02:51 PM

The advantage of multithreading is that it can improve performance and resource utilization, especially for processing large amounts of data or performing time-consuming operations. It allows multiple tasks to be performed simultaneously, improving efficiency. However, too many threads can lead to performance degradation, so you need to carefully select the number of threads based on the number of CPU cores and task characteristics. In addition, multi-threaded programming involves challenges such as deadlock and race conditions, which need to be solved using synchronization mechanisms, and requires solid knowledge of concurrent programming, weighing the pros and cons and using them with caution.

How to avoid third-party interfaces returning 403 errors in Node environment? How to avoid third-party interfaces returning 403 errors in Node environment? Apr 01, 2025 pm 02:03 PM

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

Unable to log in to mysql as root Unable to log in to mysql as root Apr 08, 2025 pm 04:54 PM

The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

How to use sql if statement How to use sql if statement Apr 09, 2025 pm 06:12 PM

SQL IF statements are used to conditionally execute SQL statements, with the syntax as: IF (condition) THEN {statement} ELSE {statement} END IF;. The condition can be any valid SQL expression, and if the condition is true, execute the THEN clause; if the condition is false, execute the ELSE clause. IF statements can be nested, allowing for more complex conditional checks.

MySQL: An Introduction to the World's Most Popular Database MySQL: An Introduction to the World's Most Popular Database Apr 12, 2025 am 12:18 AM

MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

See all articles