![]() |
Next Page |
| Contents > Creating a database > Setting options for fields > Defining field indexing options |
|
|
| Defining field indexing options |
| FileMaker Pro uses different indexes for different tasks: |
| Value indexes can be created for text, number, date, time, and timestamp fields, as well as calculation fields that return results of these same types. Value indexes are used for joining related records and for searches in number, date, time, and timestamp fields, and calculation fields that return results of these same types. A value index is created by taking each line of text (delimited by the carriage return character) and taking up to the first 100 primary character weights that all the characters in that line generate, according to the Unicode Collation Algorithm. For more information, see Choosing a language for indexing or sorting. |
| To set indexing options for a field: |
| 1. | With the database open, choose File menu > Manage > Database. |
| 2. | In the Manage Database dialog box, click the Fields tab. |
| 3. | If your database contains more than one table, select the appropriate table from the Table list. |
| 4. | Click the field name. |
| 5. | Click Options (or double-click the field name). |
| 6. | In the Options for Field dialog box, click the Storage tab. |
|
|
If you selected a calculation field, you see the Specify Calculation dialog box. Click Storage Options. |
| 7. | Select indexing options for the field. |
|
|
|
| 8. | For calculation fields, select Do not store calculation results if you want FileMaker Pro to calculate the result only when needed, then click OK. |
| 9. | Click OK to close the Options for Field dialog box, or click another tab to set additional field options. |
| Notes |
| You can define storage and indexing options for text, number, date, time, and timestamp fields. You can also index calculation fields if the results are text, number, date, time, or timestamp. |
| Stored results require more disk space. Unstored results require more time to calculate. |
| For normal use, use None or Minimal and enable the option to Automatically create indexes as needed. |
| To create relationships using text fields as match fields without creating word indexes for these fields, use Minimal and disable the option to Automatically create indexes as needed. |
| To reduce file size and prevent users from creating indexes, use None (or Minimal) and disable the option to Automatically create indexes as needed. |
| The combination of selecting None and disabling the option to Automatically create indexes as needed will also prevent the field from being used to create relationships. |
| For databases that will be placed on CD-ROM or other read-only media, any field that could be used in a Find should be set to Indexing All (if disk space on the CD-ROM allows). |
| Related topics |
| Using a field index |
| Choosing a language for indexing or sorting |
|
|
| Contents > Creating a database > Setting options for fields > Defining field indexing options | Next Page |