Presentation is loading. Please wait.

Presentation is loading. Please wait.

Query-by-Example Transparencies

Similar presentations


Presentation on theme: "Query-by-Example Transparencies"— Presentation transcript:

1 Query-by-Example Transparencies
Chapter 9 Query-by-Example Transparencies © Pearson Education Limited 1995, 2005

2 Query-by-Example (QBE)
Visual approach for accessing information in a database through use of query templates. Example values are entered into template to represent what access to database is to achieve, such as the answer to a query. Originally developed by IBM in 1970s and has proved so popular that QBE (or similar) is now provided by most DBMSs. When user constructs a QBE - in background, DBMS creates an equivalent SQL statement. © Pearson Education Limited 1995, 2005

3 Query-by-Example (QBE)
Allows user to: - Ask questions about data in one or more tables. - Specify the fields we want in the answer. - Select records according to some criteria. - Perform calculations on the data in tables. - Insert and delete records. - Modify values of fields. - Create new fields and tables. © Pearson Education Limited 1995, 2005

4 Introduction to Microsoft Access
© Pearson Education Limited 1995, 2005

5 Building Select Queries using QBE - Specifying Criteria
© Pearson Education Limited 1995, 2005

6 Building Select Queries using QBE - Specifying Criteria
© Pearson Education Limited 1995, 2005

7 Building Select Queries using QBE - Specifying Criteria
© Pearson Education Limited 1995, 2005

8 Creating Multi-table Queries
© Pearson Education Limited 1995, 2005

9 Calculating Totals © Pearson Education Limited 1995, 2005

10 Calculating Totals © Pearson Education Limited 1995, 2005

11 Changing Content of Tables - Make-Table Action Query
© Pearson Education Limited 1995, 2005

12 Changing Content of Tables - Delete Action Query
© Pearson Education Limited 1995, 2005

13 Changing Content of Tables - Update Action Query
© Pearson Education Limited 1995, 2005

14 Changing Content of Tables - Append Action Query
© Pearson Education Limited 1995, 2005

15 Changing Content of Tables - Append Action Query
© Pearson Education Limited 1995, 2005

16 CIS 523 Creating Access Forms and Reports
Fall, 2009

17 Form Creation First check the design of the form.
If you have forms which are linked to another table, you need to go into the design view and set up the lookup properties for the table. Then you can use the form wizard to generate the basic form.

18 After the basic format is produced, you can alter pieces of the form.
Change the name of the form Set up the attribute labels so they are easy for the user to understand. Change the size of lookup fields. Test the form to be sure it displays the correct data and accepts new input.

19 Report Creation Most reports want to summarize information from several tables. It is usually best to tie a report to a query. First design the query for the information you want to see in the report. If the data needs to have a sort order, put it in the query. If the data needs to select only specific records, put it in the query.

20 Once you have the report query designed, you are able to build the report.
Use the query and design a report using the report wizard. You can use the wizard to “group” the parts of the report. The grouping is usually based on the ordering you created in the query.

21 Once the report wizard completes the template, you can alter the report form.
Change the title and name of the attribute labels. You may need to remove some of the grouping titles, you may need to add some labels and attributes.


Download ppt "Query-by-Example Transparencies"

Similar presentations


Ads by Google