You are on page 1of 3

Ch3 Queries, Forms And Reports

Q1:- What is a Query? Give examples also.


Ans:- A query is an operation that retrieves data from one or more tables. For example
a) Which student got the highest marks in English?
b) Which accounts have a balance less than Rs. 5000?
Queries in LibreOffice base can be created using Wizard, Design View and SQL View.

Q2:- Write the steps to create a query in wizard.


Ans:-To create a query in wizard, the steps are
1. In the Database section of the Database window, click the Queries icon.
2. Now, Click Use Wizard to create Query… option in the Tasks section. The Query wizard
window opens.
3. Select the table from the drop-down list of tables.
4. Select the fields to be included in the query.
5. You can select sort order, can apply search conditions and so on as the need may be.
6. Click on finish. The result of the query will be displayed in a window.

Q3:- Write the steps to create a query in Design View.


Ans:- To create a query in design view, the steps are
1. In the Database section of the Database window, click the Queries icon.
2. Now, Click Create Query in design View… option in the Tasks section. The Query Design
window opens.
3. Add the table and select the fields to be included from the table.
4. You can select sort order, can apply search conditions and so on as the need may be.
5. Now, run the query by pressing F5 key. Click on Run icon from the toolbar.

Q4:- What are forms in LibreOffice base? How are they useful?
Ans:- A form is a graphical representation of a table. You can add, update, and delete records in
your table by using a form. Hence, if you change a record in a form, it will be changed in the
table also.

Q5:- Write steps to create a form using wizard.


Ans:- To create a form using wizard steps are
1. In the Database section of the Database window, Click the Forms icon.
2. Now, click Wizard to Create Form…. Options in the tasks section to open the Form
Wizard.
3. Select the Table, fields to be included in the form.
4. Select the form layout.
5. Apply styles to a form.
6. Give name to the form and click on finish.
Q6- Define Record Navigation Bar.
Ans:- The Record Navigation bar is used to move between fields in the form. It is placed at the
bottom of the form.

Q7:- Define Form Layout.


Ans:- Forms in LibreOffice Base have different layouts or arrangement of the labels and fields on
the screen. The four choices are:
1. Columnar – Labels left: In this layout, labels are placed to the left of each field. This
layout is suitable for viewing data, one record at a time.
2. Columnar – Labels on Top: In this layout, field labels are placed at the top of the
screen and the records are displayed below. This layout is suitable for displaying
multiple records of data at a time.
3. Data Sheet:- In this layout, records will appear in the same fashion as it appears while
viewing or adding records in a table data view.
4. In Blocks – Labels above :- In this layout, field labels are placed above each field with
the fields spread out on the form. This layout is suitable for viewing a single record at a
time.

Q8:- Define Reports. How are they useful?


Ans:- A report is a flexible way of viewing and printing summary information. Reports are useful
to present data in a way that makes it easily understood by people without the knowledge of
the database. Some examples of the reports are : Sales summary, Result sheet etc.

Q9:- Write the features of Reports.


Ans:- Reports can
 Present information in a customized way.
 Group and sort data in the order you want.
 Create charts for analyzing data.
 Produce form letters such as bills, etc.

Q10:- Write steps for creating a report using wizard.


Ans:-To start a Report wizard, the steps are
1. Click on Reports icon in the Database Section of Database window.
2. Click Use Wizard to Create Report… option from the Tasks section.
3. Select the table and fields to be included in the report.
4. Select the sorting order.
5. Choose Report layout and apply style.
6. Click ok to finish.

Q11:- Which key is used to run a query?


Ans:- F5

You might also like