Skip to content · Zum Inhalt

Edit a value

The grid shows one row per record and one column per field, every value as text. A change in a cell is written to the record itself, with the table's own validation and with the user you are signed in as.

Before you start

  • Open the table and check the filter: the records the filter selected are the records a change can reach.
  • Switch the change log on in Data Editor Setup if the change has to be provable afterwards.

Change a value in a cell

  1. Open the table with the preset and find the record in the grid.
  2. Select the cell of the field you want to change.
  3. Type the new value in the field's own format — text, a number, a date, or the caption of an option.
  4. Leave the cell. The value is converted, validated by the table, and written to the record.

A value in place, with the record, the field and the value it belongs to

What happens

The value is written to the record the row points to, and the table's relations and checks run unless Without Validation is on. A value that does not convert is refused with "'%1' is not a valid value for field %2." and the cell keeps its old value; a field that cannot be edited is refused with "Field %1 cannot be edited."; a record someone else changed in the meantime is refused with "Another user has modified the record. Refresh and try again." With the log on, the change is written to the log with the old and the new value.

Example

The preset 10006, name AS, description Fabrikam, opens table 103 with the table filter ITEM-002. The user changes a value in the cell of one record of that filter; the value is written to that record, and the other records the filter selected are untouched.

Correct a value the table refuses

  1. Type the value in the cell and leave the cell, as you would for any change.
  2. If the text does not convert to the field's type, the cell goes back to the value it had and the message "'%1' is not a valid value for field %2." names the value and the field.
  3. Read the column header the message names, and the columns beside it, to find the record again.
  4. Type the value in the field's own format — a number without text around it, a date in the format the company uses, the caption of an option — and leave the cell once more.
  5. The value is converted, validated by the table and written to the record, and the log records it with the old and the new value when the log is on.

The result line and the value a field holds now

What happens

A value that does not convert is refused before anything is written: the record keeps the value it had, and the cell shows it again, so there is nothing to undo. The table's own validation runs on the second attempt exactly as on the first, and a value the table accepts is written to the record with the user you are signed in as.

Example

The preset 10006, name AS, description Fabrikam, opens table 103 with the table filter ITEM-002. A user types Contoso into the Description of the record the filter selected and the value is written. The same user who types next week into a date field of that record sees "'next week' is not a valid value for field Posting Date." and the cell keeps the date it had until the value is typed as a date.

If something goes wrong

What you seeWhyWhat to do
"'%1' is not a valid value for field %2."The text does not convert to the field's type.Type the value in the field's own format.
"Field %1 cannot be edited."The field is calculated, a BLOB, a media field or one you may not modify.Change a normal field instead.
"Another user has modified the record. Refresh and try again."The record changed since the grid was read.Choose Refresh and change the value again.
The cell goes back to its old valueThe table's own validation refused it.Correct the value and try again.