Click here to load reader

Form and Report

  • Upload
    tamra

  • View
    38

  • Download
    0

Embed Size (px)

DESCRIPTION

Form and Report. Midterm exam. Friday, October 31, 2008 Content: Week 1 to Week 8 Format: Matching Multiple choice questions Database problem solving questions (SQL). Create forms with more than one table. Create forms with more than one table. Create forms with more than one table. - PowerPoint PPT Presentation

Citation preview

Form and Graphical User Interfaces

Form and Report1Midterm examFriday, October 31, 2008Content: Week 1 to Week 8Format: MatchingMultiple choice questionsDatabase problem solving questions (SQL)Create forms with more than one table

3Create forms with more than one table

4Create forms with more than one table

5Create forms with more than one table

6Create forms with more than one table

7Create forms with more than one table

8Create forms with more than one table

9Create a form to view specific records

Create -> Form DesignCreate a form to view specific record

Create a form to view specific records

Create a form to view specific records

Create a form to view specific record

Create a form to view specific recordPrivate Sub Command3_Click()

Dim stDocName As String Dim stLinkCriteria As String stDocName = "ViewEmployee" stLinkCriteria = "[Name]=" & "'" & Me![Name] & "'" DoCmd.OpenForm stDocName, , , stLinkCriteria

End SubForm NameField NameText box NameCreate a form to view a specific record

Create a form to view specific record

How about this?

Using wildcats * and ?View a form in Design View

Using wildcats * and ?

Using wildcats * and ?Private Sub Command3_Click()

Dim stDocName As String Dim stLinkCriteria As String stDocName = "ViewEmployee" stLinkCriteria = "[Name] LIKE" & "'" & Me![Name] & "'" DoCmd.OpenForm stDocName, , , stLinkCriteria

End SubUsing wildcats * and ?

Using wildcats * and ?

ReportWhy do we need reports?Final product of most database applications is reportReports combine information from tables, queries, and formsSupport paperless office25Forms and reportsDifferences:Reports are intended for printing while forms are intended for viewing/interacting with usersUnderlying data cant be changedNo Datasheet view in reportNumber of columns, width..etc are controlled by Printer Setup26Reports in AccessGroup/totals report Tabular reportsOthers: Single-column report, Multi-column report, Mailing label, unbound report27Creating a report using Report Wizard

Create -> Report WizardCreate a report using Report Wizard

Create a report using report wizard

Create a report using Report Wizard

Create a report using Report Wizard

Create a report using Report Wizard

Create a report using Report Wizard

Create a report using Report Wizard