Open a table and load its records
The editor opens one table at a time. The table and the table filter decide which records are read, and the field selection decides which of their fields become columns. All four are stored in a preset, so the same records come back the same way the next time.
Before you start
- Know the number or the name of the table, and that you may change it: the editor opens a table only when you have insert, modify or delete permission on it.
- Know the filter in the form
Field=Filterthat selects the records you want. - Have a preset ready if you open the same table regularly.
Open a table with a preset
- Search for Data Editor Preset and find the preset by its code in Code.
- Read Table Name, Table Filter and Field Filter on the line: they say which table the preset opens, which records it selects and how its field list was narrowed.
- Search for Data Editor and type the code in Preset, or pick the preset with the AssistEdit of the field.
- The dialog fills the table, both filters, the options and the field selection.
- Choose Run. The records are read and the grid opens with the columns the preset keeps.

What happens
The preset fills the dialog and nothing is read until you choose Run. The table is opened with your own permissions, exactly as if you had typed the table and the filter by hand. A preset whose field list names a field the table no longer has is refused when it is loaded with "Preset %1 names field %2, which table %3 does not have."
Example
The line 10009, name LB, description Alpine Ski House, opens table 106 with the table filter
ITEM-005 and the field filter PROJ-002. The user types 10009 in Preset, chooses Run, and the grid
opens on the records of table 106 that the filter ITEM-005 selects.
Write the table filter in the form Field=Filter
- In the Data Editor dialog, type in Table Filter.
- Write one or more parts, each
Field=Filter, separated by commas. - Use Business Central's filter syntax:
No.=10000..20000,Name=Foo*,Status=Open|Released,Posting Date=010125..310125. - Leave the field empty to read every record, then choose Run.
- Save the preset to keep the filter for the next time.

What happens
Each part becomes a filter on that field of the table. A part without = is refused with "The filter '%1' is not in
the form Field=Filter."; a field the table does not have is refused with "Table %1 has no field named %2."; a BLOB,
media or calculated field is refused with "Field %1 cannot be filtered." Nothing is read until the filter is right.
Example
The preset DOC-1, name Preset, keeps the table filter Code=ADM*. Every record whose code starts with
ADM is read; everything else stays out of the grid, so no change made there can reach it.
Narrow the records a preset opens
- Add a second part to Table Filter, separated from the first by a comma, for example
No.=10000..20000,Name=Foo*. - Choose Run and read the number of records the dialog shows before anything is read.
- Save the preset when the filter is the one you want to keep.

What happens
A filter that selects more than 10,000 records is read only after you confirm, and one that selects more than 100,000 is refused with "The filter selects %1 records. Narrow the filter to at most 100,000 records." A filter that selects nothing opens an empty grid and says "No records match the filter." Filtering a column afterwards only hides rows; it never changes the records the preset selected.
Example
The presets in the list narrow the same kind of table to one record each: 10005 with ITEM-001, 10006 with ITEM-002, 10007 with ITEM-003, 10008 with ITEM-004, 10009 with ITEM-005 and 10010 with ITEM-006. Each line is a filter a user can read before opening the table.
Open a table the editor will not edit
- Search for Data Editor Preset and find the line of the preset you want.
- Read Table No and Table Name on the line: together they name the table the preset opens.
- Read Table Filter to see which records of that table the preset selects.
- Search for Data Editor, type the table in Source Table No. or the preset code in Preset, and choose Run.
- The editor checks the table before it reads a record. A table it must not open is refused and the dialog stays where it is: the Data Editor log itself, a table number from 2,000,000,000 up (the range Business Central keeps for temporary tables), a table the environment does not know, or an obsolete table.

What happens
The table's own metadata is read first, and the dialog stops there when the table cannot be edited: nothing is read, nothing is changed, and no preset is touched. The message names the table — "Table %1 cannot be edited with the Data Editor." — so the number on the line is the one to look at. The app's own log is refused with "The Data Editor log cannot be edited with the Data Editor.", because the log is written by the editor and not by hand.
Example
The preset DOC-1, name Preset, keeps table 10, Standard Shipping, with the table filter Code=ADM*. A user reads Table No and Table Name on the line, sees a table they may change, and runs the preset. The same two columns on a line that names a table they may only read tell them the run will be refused before they try it.
Read a grid the filter left empty
- Read Table Filter and Field Filter on the preset line, or in the Data Editor dialog before you run it.
- Choose Run. The records are read and the grid opens with its columns and no rows.
- Read the message "No records match the filter.": it says the table filter selected nothing, not that the table is empty.
- Widen the table filter, or clear it to read every record, and choose Run again.

What happens
The grid is opened as usual, with the columns of the field selection and no rows, and the dialog says "No records match the filter." Nothing is read into the grid and nothing is written, so an empty grid costs a run and no more. The number of records the dialog shows before you run it already says the filter selects nothing.
Example
The preset 10005, name JD, description Adatum Corporation, keeps the table filter ITEM-001 and the field filter WH-03. A user who reads the two columns knows which records of table 102 the run will reach. A filter that names a code the table does not carry — ITEM-006 in a table whose records are ITEM-001 to ITEM-003 — opens the grid with no rows, and the message says so.
If something goes wrong
| What you see | Why | What to do |
|---|---|---|
| "The filter '%1' is not in the form Field=Filter." | A part of the filter has no =. | Write every part as a field and a value, separated by commas. |
| "Table %1 has no field named %2." | The filter names a field the table does not have. | Check the field name in the filter. |
| "Field %1 cannot be filtered." | The filter is on a BLOB, media or calculated field. | Filter on a normal field instead. |
| "The filter selects %1 records. Narrow the filter to at most 100,000 records." | The filter is too wide. | Narrow the filter. |
| "No records match the filter." | The filter selects nothing. | Widen the filter and read again. |
| "Table %1 cannot be edited with the Data Editor." | The table number is 2,000,000,000 or higher, the environment does not know the table, or the table is obsolete. | Choose a table of the company's own data. |
| "The Data Editor log cannot be edited with the Data Editor." | The table is the app's own log, which the editor writes itself. | Read the log instead of editing it. |
