logo


72.1.3 Adding Fields to a Flat File Database


You can add columns (fields) to your flat file database to store additional information. Suppose, for example, you decide that you can make your business grow even faster if you keep track of the names and addresses of your regular customers. You want to send them literature about new products, special sale offers, and so on. You decide to add the customer's Street Address, City, State, Zip code, and Phone number. Adding this information is simple: you just add columns to the database. After you have added the new columns, your flat file database looks like this:

 

List of invoices

Whenever you add a new field, the flat file model adds a new column to the entire database so that it will remain a perfect rectangle. This is very handy, because it means that you can go back to all your old records and bring them up-to-date with the new categories of information (Street Address, City, State, Zip, etc.). What a powerful concept!



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