Class X IT Lab Manual (24 -25) Final_removed (1)
Class X IT Lab Manual (24 -25) Final_removed (1)
AIM:
Create a report using the table Events from the Sports Day database. Follow the
following steps to create a report.
ALGORITHM:
STEP 1: In the LibreOffice Base User Interface, click on the Reports icon in the
Database Pane.
STEP 2: From the Tasks Pane, click Use Wizard to Create Report… option.
STEP 3: The Report wizard along with two other windows will be displayed. One of the
window is Report Builder window and the other is Add Field dialog box. We
will confine our study to the wizard
STEP 4: The first step of wizard is to select the table and the corresponding fields that we
want to display in our report. From the Tables or Queries list box, select the table
Events.
STEP 5: All the fields of the Events table will be listed in the Available Fields list box.
Click >> button to shift all the fields to Fields in report list box. shows the Fields
in report list box after shifting.
STEP 6: Click on the Next button. The next step is to label the fields. By default, the column
headers will be displayed as labels or column headers for the field values. As fields
names are generally shortened, to change to more self-explanatory names, type the
new names in the respective text boxes.
STEP 7: Click on the Next button. The next step is to group the data based on any of the
fields in the report. Since we do not want to group as of now, click on the Next
button.
STEP 8: The fourth step is to set the Sort options. If the data to be displayed in the report
has to be sorted in either ascending or descending order of a particular field,
specify the field and sorting order in this step. Say, for example, select the field
EventID. The radio button for Ascending is already selected. Select Descending
radio button to display the records in descending order
STEP 9: Click on the Next button to move on to the next step in which the layout of the
report will be selected.
STEP 10: A layout is the manner in which the labels, field values and titles will be displayed
in the report. Out of various Layout options given, choose the desired layout, say
Tabular and also the layout of headers and footers (Default). You may also
choose the orientation option Landscape or Portrait in this step. Keep the default
orientation option Landscape selected by default.
STEP 11: Click on the Next button to move to last step.Here we name the report and to
specify the manner in which we want to proceed after the wizard finishes. Type
the name of the report as EventsReport.By default the type of report is Dynamic.
That means as the field values in the base table or query change,the report will
also change automatically. If you don’t want automatic updation of the
report,choose the Static option. In this step, specify whether you would like to modify the
report or create the report once the wizard finishes. Select the default option to create the report
with current setting.
Step 12: Click on Finish button to display the report.
Result:
Thus the above report is created successfully.
SAMPLE OUTPUT:
SAMPLE OUTPUT:
RESULT: