The knoda user's tutorial

Version 0.7
Last updated: 24/06/2004

Horst Knorr

Ian Powell

Peter Ruskin

This tutorialis based on knoda version 0.7. Knoda is a Graphical User Interface program for access to databases in the KDE environment. In this tutorial we will create a database that will consist of two tables.

Pre-requisites: It is assumed that you will have basic understanding of a "relational database" before starting this tutorial. "MySQL" and "Microsoft Access" are examples of relational database systems. Practical experience of SQL is also an advantage.


Table of Contents
1. The example database "exampledb"
1.1. The "authors" table
1.2. The "literature" table
2. Starting knoda
3. The main window - creating a new database
4. Tables - creating a new table
5. Queries
5.1. Query by example
5.2. SQL statements
6. Forms
6.1. The toolbar
6.2. The property editor
6.3. Defining grid columns
6.4. Defining comboboxes
6.4.1. A simple combobox
6.4.2. A complex combobox
6.5. Setting default values
7. Reports
7.1. A simple report
7.2. The report field
7.3. User defined report sections - a more complex report
7.4. Subreports
7.5. Show reports depending on form values
8. Miscellaneous
8.1. Import a CSV file
8.2. Export a table or query to a CSV file
8.3. Using the filter
8.4. Setting options
8.4.1. General options
8.4.2. Defaults options
8.4.3. Regional options
8.4.4. Report options
8.5. Comboboxes in grids
8.6. Colours in forms and reports
List of Tables
1-1. structure of the "authors" table
1-2. the data in the "authors" table
1-3. structure of the "literature" table
1-4. the data in the "literature" table
6-1. table structure of the table "review"
List of Figures
2-1. The knoda window
2-2. The password dialog
3-1. The main window
4-1. The tabledesign window
4-2. The tabledata window
4-3. The "literature" table
5-1. Query by example window
5-2. Toggle button to switch between QBE and SQL window
6-1. The formdesign window
6-2. The formdesign window
6-3. The form datasource dialog(1)
6-4. The property editor
6-5. The form datasource dialog(2)
6-6. The defined form
6-7. The column selection dialog
6-8. The form with changed gridcolumns
6-9. The form "reviewform1"
6-10. A simple combobox
6-11. The form datasource dialog(3)
6-12. A complex combobox
6-13. The form datasource dialog(4)
6-14. The form "reviewform2"
6-15. The depending modes
7-1. The reportdesign window
7-2. A simple report
7-3. the reportsection dialog
7-4. A complex report
7-5. The subreport window
7-6. The form property showing the button values
7-7. The reportcondition dialog
8-1. The CSV import dialog
8-2. The CSV export dialog
8-3. The filter toolbuttons
8-4. The filter definition dialog
8-5. The knoda window
8-6. The knoda general options
8-7. The knoda defaults options
8-8. The knoda regional options
8-9. The knoda report options
8-10. The column selection dialog
8-11. The column selection dialog
List of Examples
5-1. Using query delimiters