Advanced Database – Import from existing database into a database.

Open two separate database files. To import data, you can simply drag and drop between the windows. For example, to copy the Names table from the lower database in the example shown, left click and hold on ‘Names’ in the Tables section and drag it to the Tables section of the other database. A dialogue…

Read More

Advanced Database – Link external data to a database: text

For this tutorial, we are going to create a text file in LibreOffice Writer. Open LibreOffice Writer. Enter the text shown. The first line designates field names, separated by commas. Each new line represents a new record with fields in the same order as the top line. Select Save As from the File menu. Name…

Read More

Advanced Database – Link external data to a database: spreadsheet

For this tutorial, first we are going to create a LibreOffice Calc spreadsheet. Open a new Calc file. In sheet 1, enter the data shown to the left. Then right click on the tab for the sheet and select ‘Rename Sheet’ Type Customer Names and Ages, click OK. Save the sheet as ‘Example 1’ Click…

Read More

Understanding Databases – Force page breaks for groups in a report

Select the Surname group section on the left hand side (in blue) In the properties section on the right hand side, where it says ‘Force New Page’ select ‘Before Section’. This will insert a page break before each new section. Execute the report to see the effect of this change. Notice that a page break…

Read More

Advanced Databases – Sort, group records in a report by field(s)

To change the sorting and grouping in a report, click the sorting and grouping icon. In the window that pops up, you can select the grouped fields and change their properties. You can choose to sort ascending or descending, as well as choose whether to display headers and footers. Execute the report with the settings…

Read More

Advanced Databases – Concatenate fields in a report.

Concatenate fields means to merge them together. There is no option to do this automatically in Base, so we first have to create a query in design mode. Add the Car and owner details table. We want to merge First Name and Surname fields. In the Field column type: “First Name” || ‘ ‘ ||…

Read More