Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Ilenko_YU.I._Stvorennya_baz_danih_u_seredov._MS...doc
Скачиваний:
0
Добавлен:
01.05.2025
Размер:
3.6 Mб
Скачать

3.3. Self-control test

No

Question

Check off the right box

1.

Choose for fields of which types we can use in the criteria cell operator Like?

  1. text fields

  1. number fields

  1. currency

  1. МЕМО

2.

What is queries used for?

  1. for data input and preview

  1. for data base storage

  1. to quickly analyze and sort information

  1. for output data on the printer

  1. for perform difficult program acts

3.

What is a name of query type that is used to select certain data from the tables?

  1. a select query

  1. an aggregate Query

  1. a parameter query

  1. an update query

4.

What criteria should we set to select all products with the price more that 350?

  1. <=350

  1. >=350

  1. =>350

  1. <=>350

5.

Which tool do you use to create a query object?

  1. Database wizard

  1. Simple filter wizard

  1. Table query wizard

  1. Simple query wizard

6.

What is a name of query type that is used to increase Price by 12% in the table?

  1. a select query

  1. an aggregate Query

  1. a parameter query

  1. an update query

7.

What is an intersection of a row and a column?

  1. Cursor

  1. Form

  1. Record

  1. Cell

8.

Which of the following best describes a query?

  1. A query enables people to enter or view data in your database easily

  1. A query summarizes and prints data

  1. A query retrieves data that satisfies conditions that you set

4 Creating forms in ms access 2003

Purpose: to get practical skills of forms creating for relational database in MS Access 2003.

4.1 Theoretical material

Forms are used to input, delete and alter data. Forms are also used as selection tools for reports. Access forms can be extremely basic or complex, depending on your needs. Access 2003 offers both a wizard and design view format to help create the right forms for you. Forms can be customized even after creation. To make your database easier to use, form creation is a must.

To create a form you should in the data base window click the Forms icon in the Objects bar, then click New. The New form window appears, as shown in figure 4.1.

Figure 4.1 – A New Form window

Access proposes the next ways of form creation:

  • Design View provides you with a blank form to draw objects on.

  • The Wizard creates a base form based on criteria you provide during the wizard format.

To create a form with the wizard:

1. Press "Create form by using wizard." Select the table or query you wish to use from the Tables/Queries drop down box and select the fields you want to use in the boxes below the drop down box. Press "Next" to continue.

2. Select the layout for your form:

  • Columnar (в один столбец): Displays one record at a time in an easy-to-read format.

  • Tabular (ленточный): Displays many records at a time.

  • Datasheet (табличный): Displays many records at a time and looks exactly like a table in Datasheet view.

  • Justified (выровненный): Displays one record at a time in a format similar to a tax return interesting, but it usually creates complicated forms that are difficult to work with.

  • PivotTable (сводная таблица) dynamically summarize and analyze information into an easy-to-understand report. PivotTables are especially useful for seeing the bottom line in a large amount of information.

  • PivotChart (сводная диаграмма): dynamically summarize and analyze information by using a chart instead of a table.

Click each form type to view a sample of the layout. Press "Next" to continue.

3. Choose a style for your form. Click "Next" to continue.

4. Select a name for your form and choose whether to open the form or modify the form. Press "Finish" to create the form based on your specifications.

To create a form in design view:

1. Press "Create form in Design view." Click the "toolbox" button on the toolbar if the toolbox doesn't automatically appear.

2. Select the objects you wish to use onto the form and draw/place them one by one. If you want start a wizard for each object, click the wand icon on the toolbox before selecting an object. This will allow you to add code, items, or select queries and tables for certain objects.

3. Right-click any object and select "Properties" to add or edit the object's properties. For instance, to add items to a list box, select the list box properties, choose "Data", and "Row Source Type."

4. Save your form before exiting the design view.

5. Double-click any form to test it. Press the "Design View" icon while a form is open to edit its objects and design.

To navigate through the database we have to create the main form. This form is used as the main menu database. For a single database you can create several forms. The buttons should be grouped on the form so that users intuitively understand what actions can be performed on it: view, enter or edit data. On subordinate forms should be placed button to return to the main form.