Top Banner
Created 4-26-10 Revised 1-13- 11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes
28

Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Apr 02, 2015

Download

Documents

Raven Rimel
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability1

Microsoft Access Combos & Command Boxes

Page 2: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability2Created 4-26-10 Revised 1-13-11

While Waiting (Do Now)

Launch Access Create a Blank Database Name and Save Database to Desktop

Page 3: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability3Created 4-26-10 Revised 1-13-11

Nine Elements of Digital Citizenship Student Learning and Academic Performance

1. Digital Access: full electronic participation in society2. Digital Literacy: the process of teaching and learning about technology and the use of technology3. Digital Communication: electronic exchange of information

School Environment and Student Behavior

4. Digital Security & Safety: electronic precautions to guarantee safety/physical well-being in a digital technology world5. Digital Etiquette: electronic standards of conduct or procedure6. Digital Rights and Responsibilities: those freedoms extended to everyone in a digital world

Student Life Outside the School Environment

7. Digital Commerce: electronic buying and selling of goods8. Digital Health and Wellness: physical and psychological well-being9. Digital Law: rights and restrictions

Page 4: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability4Created 4-26-10 Revised 1-13-11

Digital Citizenship Links

www.digitalcitizenship.net www.digitalcitizenshiped.com/Curriculum.a

spx www.netsmartz.org http://cybersmart.org/ www.bpscybersafety.org/index.html www.staysafeonline.info/

Page 5: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability5Created 4-26-10 Revised 1-13-11

Standards Addressed

Standard 1: Demonstrate proficiency in the use of computers and applications as well as an understanding of concepts underlying hardware, software, and connectivity.

Page 6: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability6Created 4-26-10 Revised 1-13-11

Introduction to Access Combo BoxesBy the end of this session you will know and be

able to: Describe the function of combo boxes Create combo boxes in database Use combo wizard to apply various options in the

combo box Store and save the values in the field Use the command buttons Use command buttons wizards. Create and print a report

Page 7: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability7Created 4-26-10 Revised 1-13-11

You will demonstrate this by ~ Create a Database called Address Book

Create a Table called TblAddressBook Create a table called TblZipcodes

Fields for TblAddressBook as: FirstName, LastName, Address, City, State, ZipCode Enter the following zip codes into TblZipCode

01102 01103 01104

Create a form to enter records for TblAddressBook Create a combo box for zip codes Create a control button to save record Inputting data to create 10 records

Page 8: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

To Launch Microsoft Access

Office of Information, Technology and Accountability8Created 4-26-10 Revised 1-13-11

TaskbarStart Button ProgramsMicrosoft Access

Page 9: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Creating a Database

Select Blank Database

Created 4-26-10 Revised 1-13-11 9 Office of Information, Technology and Accountability

Page 10: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Saving a Database

Give it a name and find a specific folder to save the database.

Created 4-26-10 Revised 1-13-11 10 Office of Information, Technology and Accountability

Page 11: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Databases are create with a variety of objects

Database can consist of many objects:

TablesQueries FormsReport . . . . . . .

Created 4-26-10 Revised 1-13-11 11 Office of Information, Technology and Accountability

Page 12: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Create and save a table

Office of Information, Technology and Accountability12Created 4-26-10 Revised 1-13-11

Page 13: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Create a Form

Office of Information, Technology and Accountability13Created 4-26-10 Revised 1-13-11

Page 14: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Creating ComboBoxes

within a Database

Created 4-26-10 Revised 1-13-11 14 Office of Information, Technology and Accountability

Page 15: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Video Tutorial for Combo and List boxes from Microsoft http://office.microsoft.com/en-us/access-h

elp/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx?CTT=1

http://office.microsoft.com/en-us/access-help/video-add-a-combo-box-or-drop-down-list-on-an-access-form-VA101815334.aspx?CTT=1

Office of Information, Technology and Accountability15Created 4-26-10 Revised 1-13-11

Page 16: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

List and Combo Boxes If there are small, finite number of values for a certain field on a form, using combo or list boxes may

be a quicker and easier way of entering data. These two control types differ in the number of values they display.

List values are all displayed while the combo box values are not displayed until the arrow button is clicked to open it as shown in these examples:

Created 4-26-10 Revised 1-13-11 16 Office of Information, Technology and Accountability

Page 17: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Creating a combo box• Click Create Tab• Click Form Using

Wizard• Open the form in

Design View. • Select Design

tab , make sure • Use Control

Wizards is selected

• Click combo box tool button and draw the outline on the form. The combo box wizard dialog box will appear. You will get values from a table.

Created 4-26-10 Revised 1-13-11 17 Office of Information, Technology and Accountability

Page 18: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Depending on your choice in the first dialog box, the next options will vary

Click Next > and choose fields from the table or query.

Click Next > to proceed.

Created 4-26-10 Revised 1-13-11 18 Office of Information, Technology and Accountability

Page 19: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Created 4-26-10 Revised 1-13-11 19 Office of Information, Technology and Accountability

Page 20: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Created 4-26-10 Revised 1-13-11 20 Office of Information, Technology and Accountability

Page 21: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Created 4-26-10 Revised 1-13-11 21 Office of Information, Technology and Accountability

Page 22: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Type the caption for the option group and click Finish.Created 4-26-10 Revised 1-13-11 22 Office of Information, Technology and Accountability

Command ButtonsUsing a wizard- By using the Command Button Wizard, you can quickly create command buttons that do a variety of tasks, such as closing the form, opening a report, finding a record, or running a macro.Right-click the form in the Navigation Pane, and then click Design view on the shortcut menu.

Page 23: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Command Buttons

Created 4-26-10 Revised 1-13-11 23 Office of Information, Technology and Accountability

On the Design tab, in the Controls group, ensure that Use Control Wizards is selected.

On the Design tab, in the Controls group, click Button.

In the design grid, click where you want the command button to be inserted.

The Command Button Wizard starts.

Page 24: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Command Buttons

Created 4-26-10 Revised 1-13-11 24 Office of Information, Technology and Accountability

Follow the directions in the wizard. On the last page, click Finish.

The wizard creates the command button and embeds a macro in the button's On Click property. The macro contains actions that perform the task you chose in the wizard.

Page 25: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Command Buttons

Created 4-26-10 Revised 1-13-11 25 Office of Information, Technology and Accountability

On the Event tab of the property sheet, [Event procedure] should be displayed in the On Click property box.

Page 26: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability26Created 4-26-10 Revised 1-13-11

Your TurnCreate a Database called Address Book

Create a Table called Address Book Table

Define Fields as:First Name, Last Name, Address, City, State, Zip

Input 10 recordsCreate a combo box for zip codesCreate a command button

Page 27: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability27Created 4-26-10 Revised 1-13-11

CATEGORY 4 3 2 1

Database Able to create a database with various combo boxes independently.

Able to create a combo with lots of help.

Able to create combo box in a database

Not able to create a database or combo box.

Combo Boxes

Able to do functions in combo boxes within a database. Use combo box wizard to apply various options in a combo box.

Able to do all the functions in combo box but not able to do list boxes. Use the wizard and apply two options in a combo box.

Able to do all the functions in combo box but not able to do list boxes.

Not able to create a combo box or list box

Command buttons

Used command buttons and command wizards. Use check boxes and option buttons to display yes/no, true/false, or on/off values.

Used command buttons and command wizards. Use check boxes but didn’t use option buttons to display yes/no, or on/off values.

Used command buttons and command wizards.

Did not use command buttons or wizards.

ACCESS COMBO BOXES RUBRIC

Page 28: Created 4-26-10 Revised 1-13-11 Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.

Office of Information, Technology and Accountability28Created 4-26-10 Revised 1-13-11

Resources ISTE Publications, Digital Citizenship in Schools by

Mike Ribble and Gerald Bailey, copyright 2007, ISBN No: 978-1-56484-232-9. 

http://office.microsoft.com/en-us/access-help/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx?CTT=1

http://office.microsoft.com/en-us/access-help/video-add-a-combo-box-or-drop-down-list-on-an-access-form-VA101815334.aspx?CTT=1

http://www.ehow.com/how_2125025_create-access-2007-combo-box.html