logo


71.1.2 Setting Up a Flat File Database


Even though you may be very familiar with a Critical Care environment for the purposes of this explanation it may be easier to consider a different arena.

Suppose, for example, you start a small business and you want to set up a simple flat file database to print invoices. You might create an invoice data entry form like the one below:

 

A flat file invoice

So that you can see a list of all your invoices, you might set up a listing form like this:

 

A Flat file invoice listing form

As you can see, a Flat File Database looks like any spreadsheet or any report comprised of rows and columns. To find out all the information about a particular invoice, you read straight across the row. Each row of the flat file database is called a Record. Each record has exactly the same number of columns. Each column is called a Field. When you add a new invoice to your database, the flat file model assumes that the new row (record) has exactly the same number of columns (fields) as all of the previous rows. This is important to understand: even though you may have left some of the fields blank, the fields are still there. Your flat file database is always a perfect rectangle; every record has exactly the same number of fields, in exactly the same order.



Harrowex Pty Ltd
http://www.hxmedical.com
Voice:+ 61 4 27 344 279
Fax: +61 3 52 439 019
static@hxmedical.com