<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Base%2FC3%2FCreate-Subforms%2FEnglish</id>
		<title>LibreOffice-Suite-Base/C3/Create-Subforms/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Base%2FC3%2FCreate-Subforms%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C3/Create-Subforms/English&amp;action=history"/>
		<updated>2026-05-14T02:05:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C3/Create-Subforms/English&amp;diff=324&amp;oldid=prev</id>
		<title>Chandrika: Created page with '{| border=1 !Visual Cue !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Base: Subforms  Learning Objectives  Create a Subform |Welcome to the Spoken tutorial o…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C3/Create-Subforms/English&amp;diff=324&amp;oldid=prev"/>
				<updated>2012-11-27T14:57:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Visual Cue !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Base: Subforms  Learning Objectives  Create a Subform |Welcome to the Spoken tutorial o…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Visual Cue&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 1 &lt;br /&gt;
Spoken tutorial on LibreOffice Base: Subforms&lt;br /&gt;
&lt;br /&gt;
Learning Objectives&lt;br /&gt;
&lt;br /&gt;
Create a Subform&lt;br /&gt;
|Welcome to the Spoken tutorial on LibreOffice Base.&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we will learn how to&lt;br /&gt;
&lt;br /&gt;
Create a Subform&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 2&lt;br /&gt;
Create a form with a subform&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
List all the members of the library and build another list of those books that are not yet returned by each member.&lt;br /&gt;
&lt;br /&gt;
Use this form to update when a member returns a book.&lt;br /&gt;
|For this, let us continue with our familiar Library database example. &lt;br /&gt;
&lt;br /&gt;
And we will consider the following case:&lt;br /&gt;
&lt;br /&gt;
How can we list all the members of the library?&lt;br /&gt;
&lt;br /&gt;
And for each member, how can we see only those books that have not yet been returned by that member?&lt;br /&gt;
&lt;br /&gt;
One way is to create a form listing all the members in the library &lt;br /&gt;
&lt;br /&gt;
And then creating a subform below it, to list those books that have not yet been returned by the member. &lt;br /&gt;
&lt;br /&gt;
Once we design this form, we will be able to update the form. &lt;br /&gt;
&lt;br /&gt;
For example, when a member returns a book, we can update this information.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 3&lt;br /&gt;
&lt;br /&gt;
Show screenshot of FormwithSubformScript14.JPG and show cursor movement as narration goes forward.&lt;br /&gt;
|And, here is a sample screenshot of the form we will design. &lt;br /&gt;
&lt;br /&gt;
Notice it also shows a subform at the bottom.&lt;br /&gt;
|-&lt;br /&gt;
|Go to the main Base window.&lt;br /&gt;
Click on Queries on the left panel, &lt;br /&gt;
Point at ‘History of Books Issued to Members’ query.&lt;br /&gt;
&lt;br /&gt;
Right click on ‘History of Books Issued to Members’ query and click on copy and then right click and then paste&lt;br /&gt;
&lt;br /&gt;
Type ‘Books Not Returned’ and click on ok.&lt;br /&gt;
|Lets open our Library database.&lt;br /&gt;
&lt;br /&gt;
In our previous tutorials, we created the ‘History of Books Issued to Members’ query.&lt;br /&gt;
&lt;br /&gt;
Now we will use this query and the members table as the base for creating our new form.&lt;br /&gt;
&lt;br /&gt;
Let us first copy this query, by right clicking on the query name, and then let us click on paste.&lt;br /&gt;
&lt;br /&gt;
In the popup window for query name, let us type in a new name: ‘Books Not Returned’&lt;br /&gt;
|-&lt;br /&gt;
|Right click on ‘Books Not Returned’ and click on edit.&lt;br /&gt;
|Let us now open the ‘Books Not Returned’ query in edit mode.&lt;br /&gt;
|-&lt;br /&gt;
|Type in =0 in the Criterion column under the CheckedIn &lt;br /&gt;
&lt;br /&gt;
Press enter.&lt;br /&gt;
&lt;br /&gt;
Click on Save icon on top, and close window.&lt;br /&gt;
|In the Query Design window, let us add a criterion to show only those books that are not checked in. &lt;br /&gt;
&lt;br /&gt;
For this, let us type ‘equals 0’ in the Criterion column under CheckedIn &lt;br /&gt;
&lt;br /&gt;
And press Enter.&lt;br /&gt;
&lt;br /&gt;
Let us now save the query and close the window.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the Forms icon on the left panel &lt;br /&gt;
&lt;br /&gt;
Click on the ‘Use Wizard to create Form’&lt;br /&gt;
|In the main Base window, let us click on the Forms icon on the left panel &lt;br /&gt;
&lt;br /&gt;
And then click on the ‘Use Wizard to create Form’ option.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the ‘Table: Members’&lt;br /&gt;
&lt;br /&gt;
Click on &amp;gt;&amp;gt; button&lt;br /&gt;
&lt;br /&gt;
Click on the next button.&lt;br /&gt;
|Now we see the familiar Form wizard. &lt;br /&gt;
&lt;br /&gt;
Let us go through the 8 steps on the left to create our form.&lt;br /&gt;
&lt;br /&gt;
In step 1, field selection, let us choose ‘Table: Members’&lt;br /&gt;
&lt;br /&gt;
Then let us move all the fields to the right side.&lt;br /&gt;
&lt;br /&gt;
And let us click on the Next button.&lt;br /&gt;
|-&lt;br /&gt;
|Check the ‘Add subform’ checkbox, &lt;br /&gt;
&lt;br /&gt;
Click on the option that says: ‘Subform based on manual selection of fields’. &lt;br /&gt;
&lt;br /&gt;
Click on the next button.&lt;br /&gt;
|We are in Step 2. Setup a subform. &lt;br /&gt;
&lt;br /&gt;
So here, let us check the ‘Add subform’ checkbox, &lt;br /&gt;
&lt;br /&gt;
And click on the option: ‘Subform based on manual selection of fields’. &lt;br /&gt;
|-&lt;br /&gt;
|Click on ‘Query: Books Not Returned’ from the Tables or Queries dropdown.&lt;br /&gt;
&lt;br /&gt;
Double click on the following:&lt;br /&gt;
Book title&lt;br /&gt;
MemberId,&lt;br /&gt;
Issue Date&lt;br /&gt;
Return Date&lt;br /&gt;
Actual Return Date&lt;br /&gt;
checkedIn&lt;br /&gt;
&lt;br /&gt;
Click on the next button.&lt;br /&gt;
|Let us go to Step 3. Add subform fields. &lt;br /&gt;
&lt;br /&gt;
Here we will call our new query which we designed a few minutes ago. &lt;br /&gt;
&lt;br /&gt;
So let us choose ‘Query: Books Not Returned’ from the Tables or Queries dropdown.&lt;br /&gt;
&lt;br /&gt;
And we will move selected fields from the available list to the right side as shown on the screen. &amp;lt;pause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on Next.&lt;br /&gt;
|-&lt;br /&gt;
|Click on MemberId field from the top two drop downs.&lt;br /&gt;
&lt;br /&gt;
Click on the Next button.&lt;br /&gt;
|Step 4. Get joined fields. &lt;br /&gt;
&lt;br /&gt;
Here we will choose the MemberId field from the top two drop downs, as this is the only relating field.&lt;br /&gt;
&lt;br /&gt;
And click on the Next button.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the third option, Data sheet for both the form and the subform.&lt;br /&gt;
&lt;br /&gt;
Click on the next button.&lt;br /&gt;
|Step 5. Arrange Controls&lt;br /&gt;
&lt;br /&gt;
Here we will choose the third option, Data sheet for both the form and the subform.&lt;br /&gt;
&lt;br /&gt;
And click on the Next button.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the next button.&lt;br /&gt;
|Step 6. Set data entry. &lt;br /&gt;
&lt;br /&gt;
Here, we will leave the options as they are and click on Next.&lt;br /&gt;
|-&lt;br /&gt;
|Click on Grey.&lt;br /&gt;
&lt;br /&gt;
Click on the next button.&lt;br /&gt;
|Step 7. Apply Styles. &lt;br /&gt;
&lt;br /&gt;
Let us choose Grey as the form background. &lt;br /&gt;
&lt;br /&gt;
And go to the final step.&lt;br /&gt;
|-&lt;br /&gt;
|Type ‘Members Who Need to Return Books’ for form name.&lt;br /&gt;
&lt;br /&gt;
Click on the Modify form option&lt;br /&gt;
&lt;br /&gt;
Click on the Finish button.&lt;br /&gt;
|Step 8. Set Name. &lt;br /&gt;
&lt;br /&gt;
Here let us give a descriptive name to our form: ‘Members Who Need to Return Books’&lt;br /&gt;
&lt;br /&gt;
And let us click on the Modify form option, as we are going to do some more changes.&lt;br /&gt;
&lt;br /&gt;
Now lets click on the Finish button.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the label icon in the Form Controls toolbar t the top, draw one above form Use reference image FormwithSubformScript14.JPG. &lt;br /&gt;
&lt;br /&gt;
Double click on the top label to open properties.&lt;br /&gt;
Here type in ‘Members of the Library’ against label. &lt;br /&gt;
And for font, click on the adjacent button and click on Arial, Bold and Size 12.&lt;br /&gt;
&lt;br /&gt;
Draw a second label above the subform. &lt;br /&gt;
In the properties, type ‘List of Books to be returned by the member’ against the label. &lt;br /&gt;
And Font to Arial, Bold and Size 12.&lt;br /&gt;
|In the form design window, notice that there are two tabular data sheet areas. &lt;br /&gt;
&lt;br /&gt;
The one above is called the form and the one below is called the subform. &lt;br /&gt;
&lt;br /&gt;
Now, let us add a label above the form. &lt;br /&gt;
&lt;br /&gt;
We will click on the Label icon in the Form Controls toolbar at the top, and draw it on the form. &lt;br /&gt;
&lt;br /&gt;
Double clicking on the label, brings up its properties. &lt;br /&gt;
&lt;br /&gt;
Here we will type ‘Members of the Library’ against label&lt;br /&gt;
&lt;br /&gt;
And change the font style to Arial, Bold and Size 12.&amp;lt;pause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, let us add a second label above the subform as shown on the screen &lt;br /&gt;
&lt;br /&gt;
And call it ‘List of Books to be returned by the member’ &amp;lt;pause&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|Click on the form. &lt;br /&gt;
Then click and drag the right side green box to shorten the form length.&lt;br /&gt;
Then click in between Name and Phone field and drag it to right.&lt;br /&gt;
&lt;br /&gt;
Click on the subform. &lt;br /&gt;
Then click in between Book title and Issue Date and drag it to right.&lt;br /&gt;
&lt;br /&gt;
Then double click to open properties. Here, change Font to Arial, Bold and Size 8 and Background color to Blue 8.&lt;br /&gt;
|Next let us shorten the form’s length as shown on the screen&lt;br /&gt;
&lt;br /&gt;
And then let us increase the length of the Name field in the form. &amp;lt;pause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, let us lengthen the book title field in the subform.&lt;br /&gt;
&amp;lt;pause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let us change the fonts here to Arial, Bold and Size 8. &lt;br /&gt;
&lt;br /&gt;
And the background color to white for the form and Blue 8 for the subform. &amp;lt;pause&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Click on form. And in the properties, choose white for the background color&lt;br /&gt;
&lt;br /&gt;
Right click on MemberId column in the subform, and click on Hide column.&lt;br /&gt;
&lt;br /&gt;
Click on Save icon. Close the window.&lt;br /&gt;
|Next, let us hide the MemberId column by right clicking on it and choosing the Hide column option.&lt;br /&gt;
&lt;br /&gt;
Okay, we are done. So let us save the form designand test it.&lt;br /&gt;
|-&lt;br /&gt;
|From base main window, double click on the ‘Members Who Need to Return Books’ form&lt;br /&gt;
&lt;br /&gt;
Show cursor movement as narration goes forward.&lt;br /&gt;
&lt;br /&gt;
Type in 12/7/11 in ActualReturnDate field and check the CheckedIn for any record in the subform. &lt;br /&gt;
Press enter.&lt;br /&gt;
&lt;br /&gt;
Click on Refresh icon in the Form Navigation toolbar at the bottom.&lt;br /&gt;
&lt;br /&gt;
Show cursor movement over the subform.&lt;br /&gt;
|In the main Base window, let us open the ‘Members Who Need to Return Books’ form by double clicking on it. &lt;br /&gt;
&lt;br /&gt;
There is the form. &lt;br /&gt;
&lt;br /&gt;
Let us browse through the members, by either using the up or down arrow keys, &lt;br /&gt;
&lt;br /&gt;
Or by simply clicking on the various member names. &lt;br /&gt;
&lt;br /&gt;
Notice that the subform below refreshes and shows books to be returned. &lt;br /&gt;
&lt;br /&gt;
In the subform, let us choose any record &lt;br /&gt;
&lt;br /&gt;
and let us type in ‘12/7/11’ in the actual return date field and check the CheckedIn field &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and press Enter. &lt;br /&gt;
&lt;br /&gt;
Let us now refresh the form by clicking on the Refresh icon in the Form Navigation toolbar at the bottom. &lt;br /&gt;
&lt;br /&gt;
Notice that the record we just edited is no longer listed here, &lt;br /&gt;
&lt;br /&gt;
which means that the book has been returned or checked in. &lt;br /&gt;
&lt;br /&gt;
So there is our form with a subform.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 3&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
&lt;br /&gt;
Create a Subform&lt;br /&gt;
|This brings us to the end of this tutorial on Subforms in LibreOffice Base&lt;br /&gt;
&lt;br /&gt;
To summarize, we learned how to: &lt;br /&gt;
&lt;br /&gt;
Create a Subform&lt;br /&gt;
|-&lt;br /&gt;
|Acknowledgement Slide&lt;br /&gt;
|Spoken Tutorial Project is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT, MHRD, Government of India. This project is co-ordinated by http://spoken-tutorial.org. More information on the same is available at the following link http://spoken-tutorial.org/NMEICT-Intro. This script has been contributed by Priya Suresh, DesiCrew Solutions Pvt Ltd, signing off. Thanks for joining.&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Chandrika</name></author>	</entry>

	</feed>