+ All Categories
Home > Documents > Access Forms and Reports. One way to start a form is to use the Form Wizard Let’s create a form...

Access Forms and Reports. One way to start a form is to use the Form Wizard Let’s create a form...

Date post: 21-Jan-2016
Category:
Upload: simon-carr
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
23
Access Forms and Reports
Transcript
Page 1: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Access Forms and Reports

Page 2: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.
Page 3: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

One way to start a form is to use the Form Wizard

Let’s create a form for our Real Estate database, for the Listings table (we’ll do a little bit of Activity 4 but not all of it)

Page 4: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Now go back into Design View to edit the form

Resize windows Move fields around Many more properties / controls available

Page 5: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Label controls – headings, labels, captions, instructions

Text box controls – data is displayed or entered here

Toggle buttons, option / radio buttons, check boxes

Option group – contains multiple toggle buttons

Page 6: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

List box – a pull down menu which is always down

Combo box – a pull down menu which you must pull down, and also lets you add an option that is not on the list

When working with forms, notice Table button (or Field List), Toolbox button, and Wizard button in Toolbox

Page 7: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Let’s try another example Create a form using Name text 50, Married

Yes/No, Employed Yes/No, Home Owner Yes/No, City text 50, and State text 2

Make Name a text box, Married a toggle button, Employed a check box, Home Owner an option button, City a combo box, and State a list box

Page 8: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Click on Field List button. If you can’t click on this, click on Properties and set Record Source to appropriate table

Click on Toolbox and make sure Wizard button is pressed

Click on ab|, then click and drag on Name field

Click on Toggle button, then click and drag on Married field

Now put a caption or a picture in the toggle button using Properties

Page 9: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Pretty much everything in Access has a list of properties associated with it

To display properties, you can click on View Properties from the menu bar

Or you can right click on an item Let’s look at some properties

Page 10: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Create form for main table On toolbox, click on subform button (make

sure the Wizard button is pressed) Answer the wizard’s questions

Page 11: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Note – if you change the data on the form, you are changing it in the database!

You can use the form for entering new data You can create a form for a query and if you

enter new data on the query form, it changes the data in the table!

Let’s stop here and try our activity

Page 12: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.
Page 13: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

A report has the following parts:◦ Report header (one per report)◦ Page header (one per page)◦ Detail (each line of information)◦ Page footer (one per page)◦ Report footer (one per report)

Page 14: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

ABC Monthly Report (page header)

Employee ID Expense Job Title (detail section)Jones 123 $134.40 EngineerSmith 234 $333.22 ProgrammerZygote 345 $123.33 Analyst

April 19, 2007 (page footer)

Page 15: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Use the Wizard to create a report Here are the first questions:

Page 16: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Do you want to group items in your report? For example, do you want to group by job title?

Page 17: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Or maybe you want to group them by city?

Page 18: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

For the remaining fields, do you want them in any particular order?

Page 19: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Finally, do you want a total of all salaries? Click on Summary Options and get this:

Page 20: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

What kind of report layout would you like?

Page 21: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Finally, you may have to go into Design View to “clean up” the report

Page 22: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.
Page 23: Access Forms and Reports.  One way to start a form is to use the Form Wizard  Let’s create a form for our Real Estate database, for the Listings table.

Using the Real Estate database, create a report which uses the fields from the Listings table and includes the Listing Number, Address, City, Frame Type and Taxes. Group by City. Total the Taxes.

Let’s say the report is done but now you want to add the average of all taxes to the report footer? How do we do that?


Recommended