Replacing the contents of a field

Important  This process overwrites a field in every record (or every record in the found set) with a new value. You can't undo replacing field values. Before you begin, consider making a backup copy of the file.

To replace field values in every record in the found set:

  1. If necessary, find, omit, or sort the records in the database table.

    See Finding records and Sorting records.

  2. In Browse mode, in the current record, select the contents of the field you want to replace.
  3. If you're replacing data with a constant value (instead of serialized numbers or a calculated result), type the value.
  4. Choose Records menu > Replace Field Contents.
  5. Select an option.
  6. To replace each value with

    Select

    The value in the currently selected field

    Replace with "<value>". The contents of the field is replaced for the entire found set.

    A serialized number

    Replace with serial numbers, then type the starting value for the serial numbers in Initial value, and the incremental value in Increment by.

    If the field is defined to automatically enter a serial number, you can select Update serial number in Entry Options to reset the next value in the Options for Field dialog box.

    A calculated value

    Replace with calculated result. In the Specify Calculation dialog box, enter the calculation you want evaluated. (The result must match the field type of the replaced field.) Click OK.

  7. Click Replace.

Notes 

  • You can't replace calculation or summary fields.
  • If the field that contains the replaced data is validated, FileMaker Pro doesn't validate the new data. See Defining field validation.
  • If you select Update serial number in Entry Options, the next automatically entered value for this field (after the replace is performed) follows in sequence. If you clear this option, the next value isn't changed in the Options for Field dialog box. The next automatically entered value is based on the current settings (not in sequence with the records reserialized by this replace task).
  • The Replace Field Contents command is performed without committing the active record. See Committing data in records.