Page 38 - Computing Book 8
P. 38

Handling Databases                                                                   Class 8


                   tbleEmployee and one field of StartSalary from tblHRData.
               •  After adding five fields from tbleEmployee change
                   the table to tblHRData and add StartSalary field.
               •  In the next step select the by tblHRData option and
                   click next.
               •  In the next window there will be an option for a
                   grouping a record under any field, which is used for complex reports,
                   simply click next to the sorting window.
               •  In this window you can sort the fields as per the preference needed
                   for the report and click next, options for sorting these fields are
                   limited to four.
               •  In the next window select the layout and orientation of your report
                   as per your preference.
               •  There would be a checkbox below these settings indicating “Adjust
                   the field width so all fields fit on a page”. Keep this option checked
                   as it will automatically adjust all the placement smartly and
                   properly.
               •  In the next window name your report as per your preference,
                   below this option you will see an option for preview and
                   modification select the
                   Preview option and click
                   finish.
               •  This would be the output
                   of your report.
               •  As you can see the
                   Employee ID heading is
                   somehow left out. This can be fixed using the design view mode.
                                                                                                   nd
               •  To access the design view mode right click on the Payroll Details Report Tab and click on 2  last
                   option of design view.
               •   From this option, you
                   can resize the fields of
                   First Name and Last
                   name a little short to
                   adjust Employee ID field
                   like a text box in MS Word.
               •  Save and close the report and reopen it
                   from the object menu on the left.

               Import and Export Data in MS Access:
               In MS Access we can import and export data from multiple sources like MS Excel, MS Access, Text
               file (delimited or fixed-width), XML, ODBC Databases (For example, SQL Server). Importing and
               exporting data is easy in MS Access using wizards.







               The City School /Academics/Computing Curriculum/Class 8/2020-2021                Page 37 of 75
   33   34   35   36   37   38   39   40   41   42   43