Creating FileMaker Pro Database Tables
FileMaker Pro is famous for its ease of use. However, if you plan to use this program to create a useful database solution, it is important that you resist the temptation to dive straight in and spend a bit of time planning your database. This is the only way that you can be sure that the database management system (DBMS) you end up with will be suitable for your purposes.
One of the first operations in the process of database design is the specification of tables and the columns they contain. Basically, your database will be a repository of related data which will allow you to retrieve this information in a useful fashion. At a very early stage in the design process, you need to identify each individual piece of information that is important for you. The information will almost certainly fall into different groups or categories. When you come to build your database, each of these separate categories will become a table.
Tables consist of rows and columns, just like an Excel worksheet. Columns are often referred to as fields; rows are often referred to as records. In a very simple database, only one table may be required; but this is very rare; most databases require several tables, each containing information relating to one aspect of the overall system. It is important to ensure that you do not bundle information relating to different aspects of the project into the same table when designing your DBMS since this will lead to duplication and loss of data integrity.
Version 1 and 2 of FileMaker saved all information in one table. It was only with the release of version 3 in 1995 that FileMaker offered the use of multiple tables. In its current release, version 10, FileMaker automatically creates a single table for you whenever you create a new database. The table has the same name as the database itself and contains no fields. Your first step will probably be to rename this table and define the fields you wish it to contain. To rename a table, select the Tables tab in the Define Database dialogue, click on the current name, enter a new one and then click the Change button.
To create fields, activate the Fields tab in the Define database dialogue, enter the name of each of the fields that you want the table to contain, specifying the data type (Text, Number, Date, etc.) then click the Create button. Be sure to create a primary key field in each of your tables. This will be used to create relationships with other tables to make up your final solution. To create a primary field, enter a name as per usual, set the field type to number then click Create. Next, click the Options button and in the Auto-Enter section, activate the option “Serial Number”. Finally, in the Validate section, activate the options “Not Empty” and “Unique Value”.
The writer of this article is a developer and trainer with Macresource Computer Solutions, a UK IT training company offering FileMaker Pro Classes in London and throughout the UK.
Recent Comments