"The program allows us to save a great deal of valuable time by automatically importing images, style sheets and formatting. This allows us to be more competitive in the marketplace and therefore more successful in our business "

– Antiques Trade Gazette

A Step-by-Step Guide to Starting a new Database Publishing Project

  1. Planning the structure of your database
  2. How to create a new database
  3. The Database Setup Wizard – setting up the fields and tables for your new database
  4. The Form Design Wizard - designing your data entry forms
  5. Getting data into your database - Import it, or add it manually
  6. Publishing Your Data - the fun part!

Planning the structure of your database

The first thing you need to do is decide on how you're going to structure your database. If you are not familiar with databases and how they work, please read our Database 101 tutorial before you start. If you're not sure what fields, tables, and records are, this is definitely recommended reading!

Read the Table Structure Tutorial to find out about the tables in CatBase and work out the best way to set yours up.

Once you've decided on the structure of your data, you're ready to set it up.

How to create a new database

The procedure for creating a new database is slightly different depending on whether you are using CatBase Single-User or the Multi-User version.

In addition to starting a new project from scratch, you can use one of our example databases as a starting point. You can find them on our Starter Projects page.

CatBase Single-User Versions

There are two ways to create a new database:

  1. If CatBase is already running, choose Create a new Data File from the File menu, or
  2. As you start CatBase up, hold down the Alt/Option key on your keyboard. Keep holding it down until the Open Data File dialogue appears, then click on the New … button.

Go to the next step.

CatBase Multi-User

  1. If CatBase is already running, Quit.
  2. Start CatBase on your server, but hold down the Alt/Option key on your keyboard as 4D Server starts up
  3. Keep holding the key down until the Open Data File dialogue appears, then click on the New … button

You'll then see a Create a data file … dialogue with a default database name displayed:

Create a new data file

  1. The default name for the new data file is the CatBase program name, which isn't very useful. Change the name to something more meaningful to your project.
  2. Make sure that the new data file is going to be saved into a suitable folder - eg your Applications->CatBase folder (Mac) or your Documents->CatBase Files folder (Windows).
  3. Click the Save button
  4. The new database is created, and shortly you'll see a dialogue asking if you want to use the Database Setup Wizard.

The Database Setup Wizard

After your new database has been created, CatBase will ask if you want to use the Database Setup Wizard, a useful tool which guides you through the initial process of setting up a new database. It's described in detail in the Database Setup Wizard Tutorial.

The Form Design Wizard

Having set up some tables and fields, you need to be able to enter and view the data. That's done via the data entry forms, and you will need to add the fields and other objects that you want to use to your data entry forms. The Form Design Wizard is essentially a drawing program which enables you to place fields and other objects – such as lists of related data – onto a form that you'll use to enter, view, and modify your data. Click here to see the Form Design Wizard Tutorial.

Getting Data Into Your Database

OK - you've set up your database. Now you need to get your data into it. You can either import data from another source, such as a spreadsheet or another database, or you can add data manually.

Importing Data

You can import data from various sources, such as:

See the Importing Data Tutorial for more details, and the Importing Data from a Spreadsheet tutorial for a detailed description of importing spreadsheet data.

Adding Data Manually

To enter data, click on the Add Data button on the main window and select the table that you want to add data to. You might find it helpful to look at the CatBase Interface tutorial and the Entering Data Tutorial.

Publishing Your Data

Finally ... the fun part!! The final step is to tell CatBase how you want to publish your data: What you want to publish; how you want it sorted; how you want each part of it styled; whether you want to publish pictures, and so on. This is all managed through the use of Style Sheets.

There are three types of Style Sheets in CatBase:

Please see the following Tutorials for more detailed info:

You'll also find more detailed information in the CatBase Reference Manual, Chapter 6, which you can find on our Downloads page

Any questions?

If you have any questions about the topics discussed here. or are not sure how to proceed, please contact us.

About Us | Site Map | Privacy Policy | Contact Us | Affiliates | ©2011 CatBase Software Ltd.