Database Equipo #1

download Database Equipo #1

of 65

Transcript of Database Equipo #1

  • 8/11/2019 Database Equipo #1

    1/65

    DatabasesANDRY ELI

    AS MARTINEZ CANUL JUAN MANUEL CEL CEHRUBEN ALFREDO SEL CANUL

    http://localhost/var/www/apps/conversion/tmp/scratch_4/vocabulary.pptxhttp://localhost/var/www/apps/conversion/tmp/scratch_4/vocabulary.pptx
  • 8/11/2019 Database Equipo #1

    2/65

    Database softwaredefined

    A data base is a collection of relatedinformation organized in a manner thatprovides for rapid search and retrieval

  • 8/11/2019 Database Equipo #1

    3/65

    Database managementsystem (DBMS)

    Is a software program that is used to create,maintain , and provide controlled access to data

  • 8/11/2019 Database Equipo #1

    4/65

    spreadsheets, database tables arecomposed of rows and columns.

  • 8/11/2019 Database Equipo #1

    5/65

    Microsoft Access 2013 is a powerfulsoftware application program thatoffers many features

    http://localhost/var/www/apps/conversion/tmp/Videos/Creating%20a%20database%20in%20Access%202010.wmv
  • 8/11/2019 Database Equipo #1

    6/65

    Before you being to design and develop a database,you should do some planning. Consider what datayou will include and what information you want tocreate

  • 8/11/2019 Database Equipo #1

    7/65

    Database structureTo use Access effectively, you first need to understandsome basic terminology. In access, a database canconsist of one table or a collection of tables.

  • 8/11/2019 Database Equipo #1

    8/65

    a table is composed of columns and rows, referredto as fields and records in Access

  • 8/11/2019 Database Equipo #1

    9/65

    The rowsThe rows in the table are call records.Each record is a group of related fields, such as all ofthe information regarding each member in amembership database or each customer in acustomer table.

  • 8/11/2019 Database Equipo #1

    10/65

    The columnsthe columns in the table are called fields.Each filed contains a specific piece of informationwithin a record.

  • 8/11/2019 Database Equipo #1

    11/65

    The primary keyWhich is assigned to a field, uniquely identifies eachrecords in a table. it tells the database program howyour records will be stored, and it prevents duplicateentries

  • 8/11/2019 Database Equipo #1

    12/65

  • 8/11/2019 Database Equipo #1

    13/65

    Using the data stored in the table, you canuse Access to create the following objects:queries, forms, and reports. The databaseprogram searches for and retrievesinformation from a table or tables to answerthe question. AlI of these objects tables,

    forms, and stored in single file, which is thedatabase.

  • 8/11/2019 Database Equipo #1

    14/65

    Step by step

    #1

  • 8/11/2019 Database Equipo #1

    15/65

    Start Access by clicking the Start button,pointing to All Programs, pointing to Microsoftoffice, and clicking Microsoft Office Access

    2003.The Access window opens.Your opening to Programs window may looksomewhat different than that shown in thefigure.

    STARTING ACCESS

    STEP 1

  • 8/11/2019 Database Equipo #1

    16/65

  • 8/11/2019 Database Equipo #1

    17/65

    STARTING ACCESS

    click the new button on the database toolbar. Thenew file task pane is displayed.

    STEP 2

  • 8/11/2019 Database Equipo #1

    18/65

    STARTING ACCESS

    Step 3

    click blank database in the new file task pane. The file newdatabase dialog box is displayed. Type flower shop in thefile name text box, click the save in drop-down arrow andlocate the drive and folder where you will store you file.

  • 8/11/2019 Database Equipo #1

    19/65

  • 8/11/2019 Database Equipo #1

    20/65

    Step 4

    click the create button to create the database. Thedatabase is created, and the database windowappears. The objects bar is displayed on the left. Thetask pane is not displayed.

    STARTING ACCESS

  • 8/11/2019 Database Equipo #1

    21/65

  • 8/11/2019 Database Equipo #1

    22/65

    TablesAfter you create and save a new database, the nextstep is to create the tables

  • 8/11/2019 Database Equipo #1

    23/65

    TablesTables are the primary objects in a database becausethey contain the data.

  • 8/11/2019 Database Equipo #1

    24/65

    Step by step

    #2

  • 8/11/2019 Database Equipo #1

    25/65

    CREATED TABLE WIZARDSTEP 1

    1- Double-click create table by using wizard. Thetable wizard dialog box is displayed. The businessoption button is selected, so the sample tables fromwhich you can select will be business oriented

  • 8/11/2019 Database Equipo #1

    26/65

  • 8/11/2019 Database Equipo #1

    27/65

    Step 2Click contacts in the sample tables list. Contact IDshould be highlighted in the sample fields list.

    CREATED TABLE WIZARD

  • 8/11/2019 Database Equipo #1

    28/65

    Step 3 Click the add filed button to add the contact ID

    field to the fields in my new table box.

    CREATED TABLE WIZARD

  • 8/11/2019 Database Equipo #1

    29/65

    Step 4Repeat step 3 to add the following fields: First Name,Last Name, Address, City, State Or Province, andPostal Code.

    CREATED TABLE WIZARD

  • 8/11/2019 Database Equipo #1

    30/65

  • 8/11/2019 Database Equipo #1

    31/65

    TABLE WIZARD DIALOG BOX

  • 8/11/2019 Database Equipo #1

    32/65

    TABLE WIZARD DIALOG BOX7. Click the next button to display the table wizard dialogbox shown, if necessary, click the enter data directly into thetable option.

    TABLE WIZARD DIALOG BOX

  • 8/11/2019 Database Equipo #1

    33/65

    TABLE WIZARD DIALOG BOX8. Click the finish button. The table is created and thecolumns display the field names in datasheet view. Thetable datasheet toolbar is displayed. Click the save button.

    ADDING RECORDS TO A TABLE

  • 8/11/2019 Database Equipo #1

    34/65

    ADDING RECORDS TO A TABLE

    Creating and saving a table is the first step ina two-step process. The next step is topopulate or add records to the table. Whenadding or editing record in a table, you can

    create a form or use datasheet view. Vieware formats used to display and work with thevarious objects. Access contains two basicview:

    ADDING RECORDS TO A TABLE

  • 8/11/2019 Database Equipo #1

    35/65

    ADDING RECORDS TO A TABLE

    Design view: used to create a table, form, query, andreport.

    ADDING RECORDS TO A TABLE

  • 8/11/2019 Database Equipo #1

    36/65

    ADDING RECORDS TO A TABLE

    Datasheet view: displays a row-and-column view of thedata in tables, form, and queries; the cable is calleddatasheet.

    You can switch between view by clicking the view button

  • 8/11/2019 Database Equipo #1

    37/65

    You can switch between view by clicking the view buttonarrow on the toolbar.

    When data is entered is a cell, it is called an entry. To movefrom one cell to another, you can use the mouse to click ina cell or you can use the keyboard to navigate in a table.

    You learn how to create and use a form to add records later

  • 8/11/2019 Database Equipo #1

    38/65

    You learn how to create and use a form to add records laterin this lesson. You use datasheet view to enter. You usedatasheet view to enter record in the table.1. Click the first empty cell (the first name field), and type

    Mary. Notice that as you enter the text, accessautomatically assign the primary key1 in the contact ID field.

    2 Press tab to move from field and complete the

  • 8/11/2019 Database Equipo #1

    39/65

    2. Press tab to move from field, and complete theentry by typing the following information in therespective fields. When your are done, the table

    should look like that shown

    3 Press tab two times to move to the first name field

  • 8/11/2019 Database Equipo #1

    40/65

    3. Press tab two times to move to the first name fieldin the next row. Refer to figure 13-15 and enter thedata for records 2 through 8

    4 Your screen should resemble figure on the next

  • 8/11/2019 Database Equipo #1

    41/65

    4. Your screen should resemble figure on the nextpage. Click the save button to save the changes.Leave the databases open for step-by-step

    PRINTING A TABLE

  • 8/11/2019 Database Equipo #1

    42/65

    PRINTING A TABLEYou can print the table from Datasheet view.To print the table in landscape mode ( inwhich the lines of the text are parallel to thelong dimension of the page), select pagesetup on the file menu to display the pagesetup dialog box. Click the page tab andthen click the landscape option button. Clickthe OK button to close he dialog box.

    Click file on the menu bar and then clickprint to display the printDialog box, you have a choice of printing all

    records or selected records.

    PRINTING A TABLE

  • 8/11/2019 Database Equipo #1

    43/65

    PRINTING A TABLE

    SORTING A TABLE

  • 8/11/2019 Database Equipo #1

    44/65

    SORTING A TABLE

    The data in table can be sorted in ascendingor descending order. In descending order,the record are sorted from A to Z, or smallestto largest. In descending order, the recordsare sorted from Z to A, or largest to smallest.In datasheet view, click the field name thatyou want sorted; the column is highlighted.

    Click the sort ascending or sort descendingbutton on the datasheet

  • 8/11/2019 Database Equipo #1

    45/65

    Toolbar. You may sort on any field. The last name field is

  • 8/11/2019 Database Equipo #1

    46/65

    y yhighlighted so the data will be sorted according to thatfield.

    Table navigationQuite often data changes after it is entered in adatabase. For example, one of your customerschanges their address or phone number or you want toadd a new customer to the database. Access providesa navigation toolbar that makes it easy for you to movefrom record to record or locate a particular record in atable.The navigation buttons that are displayed at thebottom of a table in datasheet view. These navigationbuttons are especially useful when you are working in alarge database with hundreds or even thousand ofrecords.

  • 8/11/2019 Database Equipo #1

    47/65

    MODIFYING A TABLE STRUCTURE

  • 8/11/2019 Database Equipo #1

    48/65

    MODIFYING A TABLE STRUCTURE

    After you have created a table, you canmodify it by adding and deleting column(fields) and rows (records). When you deletea column or a row from the table, all the

    data contained in the column or row isdeleted from the database. Delete columnor rows from a table when they are no longerneeded to store data. You can. You

    add/delete rows and column in datasheetview.If necessary, click the arrow on the viewbutton and select datasheet view.

    MODIFYING A TABLE STRUCTURE

  • 8/11/2019 Database Equipo #1

    49/65

    Creating a Table in Design

  • 8/11/2019 Database Equipo #1

    50/65

    Creating a Table in DesignView

    The sample tablets that you can access through theTable Wizard are an excellent tool to help you getstarted and understand the different views andfeatures in Access. These tables, however, might not

    necessarily fit your needs.

  • 8/11/2019 Database Equipo #1

    51/65

  • 8/11/2019 Database Equipo #1

    52/65

    DATABASE DEVELOPER

  • 8/11/2019 Database Equipo #1

    53/65

    A database developer writes and modifies database. Data in adatabase can be reorganized, dispersed, and accessed in several ways.Databases are important to companies and organizations becausethey contain record or files, such as sales transactions, productcatalogs and inventories, and customer profiles.

    These individuals must be good at communicating not only incomputer languages, but with people as well. They write descriptionsabout programs, prepare manuals, create help screens, and explainnew systems to users. In addition to excellent communication skills,they must have extensive experience with hardware, software, andsystems and processes.

    To become a database developer, an individual should have abachelor of science degree in computer science, as well as specificcomputer certifications. Prior experience also is recommended. Thesalary for this position will vary depending on the location and sizeof the organization and an individuals experience

    Forms

  • 8/11/2019 Database Equipo #1

    54/65

    Forms In addition to adding and viewing records in

    Datasheet view, you also can create anduse a data-entry form. A form provides aconvenient way to enter and view recordsin a table. When you create a form, youcreate a form, you are adding a new objectto the database

    Use the form Wizard to create a form in step-by-step13.4

  • 8/11/2019 Database Equipo #1

    55/65

    STEP BY STEP

    CREATE NEW OBJECT

  • 8/11/2019 Database Equipo #1

    56/65

    1-close the customers table by clicking the closecustomers button see figure . If you haveresized any columns, you are asked if you want tosave changes to the layout of the table click yes.

    x

    CREATE NEW OBJECT

  • 8/11/2019 Database Equipo #1

    57/65

    CREATE NEW OBJECT2- Click the create tab and then click the More

    Forms button in the Forms group to display the FormWizard option. See Figure

    CREATE NEW OBJECT

  • 8/11/2019 Database Equipo #1

    58/65

    CREATE NEW OBJECT3- Click Form Wizard to display the Form wizard

    dialog box. The form Wizard dialog box is displayed.Note that the list of Available Fields shows the samefields you added when you created the table4- click the select All button. All of the fields arecopied to the selected Fields box, as shown inFigure

    CREATE NEW OBJECT

  • 8/11/2019 Database Equipo #1

    59/65

    CREATE NEW OBJECT5- Click the next button. In the Form Wizard dialog box, youselect the layout for the form. If necessary, click thecolumnar option and then click Next.6- In the next Form Wizard dialog box, you select the style forthe form, click the Civic style, as shown in figure

  • 8/11/2019 Database Equipo #1

    60/65

    Entering and Editing Data in a Form

  • 8/11/2019 Database Equipo #1

    61/65

    Entering data in a form is similar to entering data in a tablein Datasheet view. You use the same keys to move theinsertion point among the fields. Furthermore, the samenavigation buttons are available at the bottom of the form.To add a new record, click the new ( blank) record button.To edit an existing record, use the navigation keys to displaythe record and make the changes in the fields on the form.Complete step-by-step 13.5 to add a new record to thedatabase

  • 8/11/2019 Database Equipo #1

    62/65

    Step- by- stepEntering andEditing Data in aForm

    Entering and Editing Data in a Form

  • 8/11/2019 Database Equipo #1

    63/65

    1-Click the New (blank) record button to display a blank form, as shown inFigure2-click the first name box and type Laura. Press Tab to move to the last nameboxto close it. Keep the Database window open for step-by-step 13.6

    Entering and Editing Data in a Form

  • 8/11/2019 Database Equipo #1

    64/65

    Entering and Editing Data in a Form3-Type smith and press Tab. Use the following information to complete the rest of the fieldsfor this record, example:

    Addictive _ID: 1Student name: john Phone No: 1234567Address: 3- E Hall Rd

  • 8/11/2019 Database Equipo #1

    65/65