search
HomeDatabaseMysql Tutorial中文Access2000速成教程--1.2 使用“数据库向导”创建表

中文Access2000速成教程--1.2 使用“数据库向导”创建表


中文Access 2000提供了两种创建表的方法:创建用于输入数据的“空表”;使用其他数据源中已有的数据来创建表。使用“数据库向导”即可在建立数据库的操作中创建该数据库所需的全部表、窗体及报表。也许您会想到这与使用中文Visual FoxPro 6中的“项目管理器”相类似,其实它们的功能差别还是很明显的,这里的“数据库向导”能创建新的数据库,但不能将新表、窗体或报表添加到已有的数据库中。那么,上一节操作结束后就应该建立好了数据库中的各种表,只是各表中没有任何记录,如单击“主切换面板”中的“输入/查看客户”按钮(参见图7),屏幕上就将显示“客户”表,以及表中的记录,而且图8表明此时该表中没有任何数据记录。





图7单击这个按钮

在“客户”表中,中文Access 2000的“数据库向导”已经建立好了所需要的字段,并且允许您此后为这些字段输入记录,如果需要的话还能增加新的字段,删除多余的字段。


其实,图8所示的“客户”窗口是一个中文Access 2000专用于输入与浏览数据记录的窗口,本章下面将讲述专用于输入数据记录的操作与窗口,请按下列步骤进行操作:





图8输入数据记录

步骤一、将“员工工时与工资”数据库窗口置为当前窗体(单击它,或者按下键盘上的F11功能键即可),然后打开列表中的“对象”组,参见图9。




图9单击并打开这个组

注:“员工工时与工资”数据库窗口提供了一个工具栏,从中可以选择使用“设计”视图(参阅后面的内容),以及列表的方式。各列表方式与其它的Windows应用程序相同,它们是:“图标”与“列表”等。

步骤二、在分组列表中选定“表”后,连击右旁表列表框中的“客户”项,如图10所示。




图10连击“客户”表

步骤三、在“客户表”中输入数据记录。

由于在前面的输入/浏览窗口中已经输入了一行记录,所以进入“客户表”后将会看到一行已经存在的记录,此时可从“公司名称”列开始输入第二行记录,参见图11,“客户ID”字段表示的是编号,中文Access 2000能自动给出,您就不用管它了,但如果需要的话也可以输入一个特定的编号。




图11从此处开始输入新的记录行

注:若想修改表中的字段结构,去掉一些多余的字段,加入一些需要的字段后,再输入数据记录,可参阅后面的内容
Statement
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
How do you alter a table in MySQL using the ALTER TABLE statement?How do you alter a table in MySQL using the ALTER TABLE statement?Mar 19, 2025 pm 03:51 PM

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

How do I configure SSL/TLS encryption for MySQL connections?How do I configure SSL/TLS encryption for MySQL connections?Mar 18, 2025 pm 12:01 PM

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

How do you handle large datasets in MySQL?How do you handle large datasets in MySQL?Mar 21, 2025 pm 12:15 PM

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

How do you drop a table in MySQL using the DROP TABLE statement?How do you drop a table in MySQL using the DROP TABLE statement?Mar 19, 2025 pm 03:52 PM

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

How do you create indexes on JSON columns?How do you create indexes on JSON columns?Mar 21, 2025 pm 12:13 PM

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

How do you represent relationships using foreign keys?How do you represent relationships using foreign keys?Mar 19, 2025 pm 03:48 PM

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?Mar 18, 2025 pm 12:00 PM

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)

See all articles

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

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SecLists

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.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version