SIMPOL Documentation

Chapter 6. GUI-Style Database Programs

Introduction

Database programs with a graphical user interface (GUI) are a very common type of application. In many cases, this is the only type of application that some people may need to create, though if the package becomes complex, it may well use quite a number of dialogs to get input from users. In this chapter, we will cover the basics of building a database-based graphical program to provide a starting point for building more complex systems of this nature.

[Tip]Tip

Before reading and getting heavily involved in this chapter, it is a good idea to at least read through Chapter 5, Dialog-Style Programs. Many of the techniques for working with the Form Designer are covered in that chapter.

In this chapter we will build a basic contact manager. This will be a program that manages an address database using a form hosted in a window. We will also use a tool bar for selecting records, and a menu with a small set of items. The steps to follow in creating this application are:

  1. Create the database

  2. Create the form

  3. Build the application code

In essence, this is not very dissimilar to the steps followed to create the dialog-style application, except first we need to create the database. So, let's get started!