Presentation is loading. Please wait.

Presentation is loading. Please wait.

MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.

Similar presentations


Presentation on theme: "MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query."— Presentation transcript:

1 MS-Access XP Lesson 4

2 Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query fields, sorting order, show and criteria 4.Click save button in query design tool bar 5.Click run button in query design tool bar

3 Renaming Queries 1.Select query in queries 2.Edit menu, Rename menu item or right click on query and select rename menu item 3.Type new name to query Opening Queries 1.Select query in queries 2.Click open button database window 3.Or double click on selected query

4 Sorting a Table using Query 1.Select queries in objects 2.Double click on create query in design view 3.Select necessary table and click add button and finally click close button in show table dialog 4.Select fields to show 5.Select sorting order under the necessary field Ascending or Descending 6.Click save button in query design tool bar and type the name to query and click ok 7.Click run button in query design tool bar

5 Creating a Library Database Tables –Category (Category No (Number), Category Name (Text), Description (Memo)) –Book (Book No (Number), Book Name (Text), Author (Text), Category No) –Member (Member No (Number), Name (text), Address (Text), Telephone (Number), Gender (Text)) –Borrowing (Member No, Book No, Lending Date (Date), Due Date (Date)) One category has many books. But one book has only one category.

6 Multiple Table in Queries Creating a query to display all books with book category in library database 1.Select queries in objects 2.Double click on create query in design view 3.Add Category and Book tables 4.Select Book No, Book Name, Author and Category fields to show 6.Click save button in query design tool bar and type the name to query and click ok 7.Click run button in query design tool bar

7 Multiple Table in Queries Creating a query to display all authors with book category in library database 1.Select queries in objects 2.Double click on create query in design view 3.Add Category and Book tables 4.Select Category No, Category, Description and Author fields to show 6.Click save button in query design tool bar and type the name to query and click ok 7.Click run button in query design tool bar

8 Forms You can use forms for a variety of purposes. Most of information in a form comes from an underlying record source. Other information in the form is stored in the form design. You create the link between a form and its record source by using graphical objects called controls. You can create a form on your own or MS- Access create your form for you using form wizard.

9 Creating a Form 1.Select forms in objects 2.Double click create form by using wizard 3.Select table or query 4.Select fields and click next 5.Select form layout and click next 6.Select form style and click next 7.Select form title 8.select open form to view or enter information to entering data or modify the form design to modifying the form 9.Click finish button

10 Navigation Buttons 1 st Record Previous Record Next Record Last Record Add new record

11 Modifying a Form 1.Select form 2.Click design button in database window or right click on form and select design view 3.View menu, Tool box menu item 4.Add necessary tool box controls to form header, detail and form footer 5.Click save button in form design tool bar

12 Removing Navigation Buttons 1.Select design view of a form 2.Select view menu 3.Select properties menu item 4.Select form in list and format tab sheet 5.Select No to Navigation Button property


Download ppt "MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query."

Similar presentations


Ads by Google