Importing with Scripts
When you need to import data into a FileMaker database regularly, it makes sense to use scripts. In this example, we'll do an import and then create a script to do that same import. With this script, as long as the field names remain the same, the data will be imported into the correct fields even if the field order in the source file changes.
To import data with matching field names
1 .Choose Scripts > ScriptMaker (Control+Shift+S/Command+Shift+S).2 .When the Define Scripts dialog box appears, click New. When the Edit Script dialog box appears, type Import Matching for the script name.3 .Scroll down to the Records category and double-click Import Records (Figure 12.23).
Figure 12.23. The Import Records script automates all of the import decisions.

Figure 12.24. Select "Perform without dialog" so the script will run without user input.

Figure 12.25. When the "matching names" option is chosen, the fields will automatically line up with imported fields that have the same name.
[View full size image]

Figure 12.26. Import Options can update serial numbers and lookups if there are any in the database.
