QMCS 200

14
January 2007 1 R. Smith - qmcs 200 QMCS 200 QMCS 200 Lecture Lecture

description

QMCS 200. Lecture. Today’s Class. Hand back homeworks Exam quick look Recap on Forms “Other” data types and data entry Reports. Hand back homeworks. GIGO – errors of gender and major name “How to fix?” – use a form with input restrictions Other homework OK - PowerPoint PPT Presentation

Transcript of QMCS 200

Page 1: QMCS 200

January 2007 1R. Smith - qmcs 200

QMCS 200QMCS 200

LectureLecture

Page 2: QMCS 200

January 2007 2R. Smith - qmcs 200

Today’s ClassToday’s Class

• Hand back homeworksHand back homeworks• Exam quick lookExam quick look• Recap on FormsRecap on Forms• ““Other” data types and data entryOther” data types and data entry• ReportsReports

Page 3: QMCS 200

January 2007 3R. Smith - qmcs 200

Hand back homeworksHand back homeworks

• GIGO – errors of gender and major name GIGO – errors of gender and major name – ““How to fix?” – use a form with input restrictionsHow to fix?” – use a form with input restrictions

• Other homework OKOther homework OK– Sillys had the cheapest computer at less than $200Sillys had the cheapest computer at less than $200

Page 4: QMCS 200

January 2007 4R. Smith - qmcs 200

ExamExam

• Material CoveredMaterial Covered– MS AccessMS Access– Computer hardware and buying a computerComputer hardware and buying a computer– Open book and notes, as beforeOpen book and notes, as before

• FormatFormat– Similar to Excel examSimilar to Excel exam– Probably NOT all-electronicProbably NOT all-electronic

• More study details next weekMore study details next week• ““Review” on Wednesday with lab for finishing Review” on Wednesday with lab for finishing

homework or HOEshomework or HOEs

Page 5: QMCS 200

January 2007 5R. Smith - qmcs 200

What to learn about Access?What to learn about Access?

• How to create a tableHow to create a table– Picking the fields, picking the data typesPicking the fields, picking the data types

• How to use relationshipsHow to use relationships– Building tables to use them, setting them upBuilding tables to use them, setting them up

• Creating formsCreating forms– Normal fields, restricted fields, drop down selectionsNormal fields, restricted fields, drop down selections

• How to build multi-table queriesHow to build multi-table queries– Using relationships to string things togetherUsing relationships to string things together

• How to do grouped reportsHow to do grouped reports– Reporting on grouped tables or multi-table queriesReporting on grouped tables or multi-table queries

Page 6: QMCS 200

January 2007 6R. Smith - qmcs 200

Recap on FormsRecap on Forms

• Design versus Data Entry screensDesign versus Data Entry screens• ““Parts” of the designParts” of the design• Text box for entering keystrokesText box for entering keystrokes

Page 7: QMCS 200

January 2007 7R. Smith - qmcs 200

““Other” data types and data entryOther” data types and data entry

• Yes/NoYes/No– ““Check box” fieldCheck box” field– Drag and drop from the field listDrag and drop from the field list

• Command buttons and shortcutsCommand buttons and shortcuts– Buttons are easy to buildButtons are easy to build– Put & in front of a character to create a keyboard shortcutPut & in front of a character to create a keyboard shortcut

Page 8: QMCS 200

January 2007 8R. Smith - qmcs 200

Forms Problem in Grauer/BarberForms Problem in Grauer/Barber

• Due MondayDue Monday• Builds on HOE #3Builds on HOE #3• Added techniques are described in the problemAdded techniques are described in the problem

• Changing a field’s data typeChanging a field’s data type– You replace the field – example: the Lookup WizardYou replace the field – example: the Lookup Wizard– To replace: delete the old one, drag new one from Field ListTo replace: delete the old one, drag new one from Field List

• Hyperlink – just use the controlHyperlink – just use the control• Keyboard shortcuts – just put & in nameKeyboard shortcuts – just put & in name

Page 9: QMCS 200

January 2007 9R. Smith - qmcs 200

Forms Analysis ProblemForms Analysis Problem

• Due TuesdayDue Tuesday• What to do: write an ‘analysis’ of a formWhat to do: write an ‘analysis’ of a form

– Find a form on the InternetFind a form on the Internet– Figure out what ‘checks’ are performed on fieldsFigure out what ‘checks’ are performed on fields– Write up a descriptionWrite up a description

• What to tell me about each fieldWhat to tell me about each field– MS Access data type and sizeMS Access data type and size

• Different types have different kinds of sizesDifferent types have different kinds of sizes– What checking does the web site perform on the fieldWhat checking does the web site perform on the field– Can Access perform the same kind of checking?Can Access perform the same kind of checking?

• Answer yes or no. If yes, explain the type of checking Access Answer yes or no. If yes, explain the type of checking Access would use. If no, explain why Access can’t do itwould use. If no, explain why Access can’t do it

• Print out the form and include the URL in your reportPrint out the form and include the URL in your report

Page 10: QMCS 200

January 2007 10R. Smith - qmcs 200

Examples of FormsExamples of Forms

• Shopping cart checkout at a retail siteShopping cart checkout at a retail site• Address label setup at US Postal ServiceAddress label setup at US Postal Service• Something in Banner with several fieldsSomething in Banner with several fields

• For full credit, the form should have several For full credit, the form should have several fields of different types.fields of different types.

Page 11: QMCS 200

January 2007 11R. Smith - qmcs 200

Chapter 2 HOE 3Chapter 2 HOE 3

Pp 725-733Pp 725-733Print ONE sample form with your Print ONE sample form with your

name entered into itname entered into it

Page 12: QMCS 200

January 2007 12R. Smith - qmcs 200

Pick lists and radio buttonsPick lists and radio buttons

• Many choices – how do you pick one?Many choices – how do you pick one?– Unchanging, short list = radio buttonsUnchanging, short list = radio buttons– Unchanging longer list = any drop downUnchanging longer list = any drop down– Changing list = put the list in a tableChanging list = put the list in a table

• ““Output” optionsOutput” options– Enters the selected textEnters the selected text– Enters the ‘primary key’Enters the ‘primary key’

• Example – Look Ahead databaseExample – Look Ahead database– Combo box for locationCombo box for location– Alternative: list box, which isn’t as flexibleAlternative: list box, which isn’t as flexible– Alternatives: Lookup Wizard, radio buttonsAlternatives: Lookup Wizard, radio buttons

Page 13: QMCS 200

January 2007 13R. Smith - qmcs 200

ReportsReports

• Report Wizard vs Design ModeReport Wizard vs Design Mode– Similar trade-off to formsSimilar trade-off to forms

• Design ModeDesign Mode– Similar to FormsSimilar to Forms– Same dotted backgroundSame dotted background– Same controlsSame controls

Page 14: QMCS 200

January 2007 14R. Smith - qmcs 200

Ch 3 HOE #1Ch 3 HOE #1

P. 755-761, hand in the report on P. 755-761, hand in the report on 761761