Defining a Match Field
To define a table as either source or receiver, you need to create a key fieldwhich FileMaker calls the match fieldthat is com mon to both tables. Each record in the source table must have a unique match field, so that the receiving table can identify which record is which.There can only be one instance (record) of a match field in the source table, whereas there can be any number of occurrences of it in the current table. This is referred to as a One-to-Many relationship. So, in our example tables, the sales table may contain many records with a customer's unique ID number, but there can only be one record in the Customer table that has that same ID.The most common method for creating a match field is to create a serial number field using the Auto-Enter field option to assign a sequential number to every new record you create.
To create a serial number match field
1 .In the source file, choose File > Define > Database (Control+Shift+D/Command+Shift+D).2 .When the Define Database dialog box appears, click the Fields tab. Type a name for the match field, choose Number (Control+N/Command+N) in the Type drop-down list, then click Create. In this example, the field name is Key Serial. When you're done, double-click the new field name.3 .When the Options dialog box appears, click the Auto-Enter tab. Click the check box for Serial number. If this is a new database without any existing records, click the box for "Prohibit modification of value during data entry" to prevent anyone from altering this field by mistake (Figure 6.5). If this is a table with existing records, leave this box unchecked for now. Click OK twice.
Figure 6.5. Prohibiting modification prevents the auto-entered value from being changed.

Figure 6.6. Add the serial match field to the layout so you can update existing records.

Figure 6.7. The Replace command allows you to update the beginning number in the auto-entry sequence.
