Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
bilety_inform_1 (1).doc
Скачиваний:
0
Добавлен:
03.08.2019
Размер:
449.54 Кб
Скачать

For every record in a child table (the “many” side), one and only one matching record must be in the parent table (the “one” side).

11. Access Objects Access is an object-oriented database management system (DBMS), which means that the entire database is composed of objects. The major database objects are: tables, queries, forms, reports, macros, modules.

A query is a question that you ask of your database. You usually use a query to extract a specified set of records from one or more tables.

Forms are often more convenient than a tabular datasheet for entering and editing table data, especially if a table includes more data than can fit across the screen and you have to scroll right to see the rest. Forms are especially useful for creating a comfortable visual environment for data management. The tables are the containers for all the data in your database.

A table (entity) represents all that the database knows about one subject or kind of thing.

A column (attribute) represents one feature, characteristic, or fact that is true of the table subject.

A row (instance) represents one individual instance of the table subject.

12. Designing the database

The database design process can be broken down into seven steps, each with specific goals and products:Determine what the users want from the database and what data is needed to provide the output.Decide what tables to include in the database.Identify the fields for each table.Assign unique fields or combination of fields for each table that ensures no two records are the same.Determine how the tables are related to one another.Review design and step through procedures with users.Create tables and enter data. Choosing Field and table (generally, objects names) names remember the following:

A name of an object must be unique in the database.

Field names can have up to 64 characters including letters, numbers, and spaces. Using a mixture of uppercase and lowercase letters can help you explain the field, but Access does not differentiate between cases in field names.

An object cannot have the same name as a built-in function, property or other reserved name in the Access vocabulary.

13.

There are 11 data types that can be used in Access:TEXT MEMO NUMBER DATE / TIME CURRENCY AutoNumber YES / NO (BOOLEAN) OLE object HYPERLINK ATTACHMENT

LookUp WizardText. The Text data type is the most common data type and can contain any combination of up to 255 characters and / or numbers. Memo. The Memo type is used to store long, but variable-length text possibly relating to the other field data. Number. The Number type is used when you want to sort values or use them in calculations, such as adding up the labor hours for a plumbing job or the hours worked by a certain employee during the winter season.Date / Time. The Date / Time data type is most useful when you want to sort records chronologically by the value in the field.

Currency. The type is used when you want to store monetary values, such as the cost and bid price of contracted jobs. AutoNumber. When you specify AutoNumber field, Access guarantees that each record in the table has a unique value in the field, thereby creating a field you can use it as a primary key. Yes / No (Boolean). The Yes /No field is useful when you want the equivalent of a check mark in your records.

.OLE Object. When you want to embed or link an object from another source in your

Table, you use an OLE Object type field. With this type of field, you can acquire data from such objects as an Excel spreadsheet, a Word document, graphics, sound, or other binary data. (OLE – object linking and embedding)Hyperlink. When you want your field to jump to another location, or to connect to the

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]