Search inside a report grid
In this task you look for a word or a number in the table of a report. The program selects the first row that matches, and you move from one result to the next. The search covers only the rows that are loaded in the table, not the whole database.
Before you begin
- Run a report that shows a table. See Run a report and read the result.
- Click inside the table.
Steps
- Click Tools > Search & Filtering > Search, or press Ctrl+F. A search bar appears above the table, and the Search Tools tab appears on the ribbon.
- Type the text in the Search box. Use at least two characters, or one digit.
- Press Enter, or click the magnifier. The program selects the first matching row. The counter at the end of the bar shows the position and the number of results. For example, in the Trial Balance of the demo company,
argives1 / 4: the first row, 1251-Partner 1 drawings, is selected. - To go to the next result, press F3 or Enter, or click Next. To go back, press Shift+F3 or click Previous. First and Last go to the ends.
- To see all the results together, click View All Results. Double-click a row, or select it and press Enter, to go to it in the table. Click Close to close the list and stay where you are.
- To close the search, click Close Search or press Esc.
The box at the top of the window that reads "Search (Ctrl+E)" looks for ribbon commands, not for rows of the table. To search the table, use Search or Ctrl+F.

Choose how the search compares
On the Search Tools tab, Filter Condition group:
- Contains: the text may appear anywhere in the value. This is the usual choice.
- Starts with: the value must begin with the text.
- Equals: the whole value must equal the text.
When you change the condition, the program searches again.
Choose the columns to search
- Click Search Fields (Ctrl+L).
- Tick the columns to search and clear the others.
- Click Ok.
The list starts with (Select All), then one row for each visible column, as in the Trial Balance: Account Name, Debit balance, Credit balance and Reconciled. The columns are taken when the bar opens. If you show a column later, tick it in Search Fields or reopen the bar. A calculated field that was visible when the bar opened is in the list and is ticked. A search that includes it ends in an error window, so clear its box in Search Fields before you search.
If the table has detail rows, such as the lines under each entry, first choose the scope. Master searches the main rows. Detail searches the detail rows and opens the master row that holds each result. Use the buttons in the Scope group, or Ctrl+M and Ctrl+D. When the table has more than one detail, only the first detail is searched.
Repeat an earlier search
Click Recent Searches and choose a text from the list. The program restores the scope and the text and searches again. The list keeps the texts of this report window; its length is set by Items to show in recent searches list in Report options.
Result
The matching row is selected in the table, and the counter shows how many rows match. When the scope is the main table, red marks on the vertical scroll bar show where the results are. Nothing in the report changes: the search only selects rows.

If something goes wrong
| Problem | Why it happens | What to do |
|---|---|---|
| Nothing happens when you press Enter. | The text is one character that is not a digit. | Type at least two characters. |
| The counter shows "No results found". | No row matches in the searched columns. | Check the spelling, then change the condition to Contains. |
| A warning icon shows beside the counter. Its hint says that not all columns were searched. | Some columns are not in the search: yes/no columns, and columns that the option Search fields selection mode excludes. | Click Search Fields and tick the column you need. |
| A number that is in the table is not found. | A numeric column is searched only when the text is a number, and it is compared as plain text. | Type the number without a thousands separator, for example 1250.5. |
| The row you expect is a detail row and the search does not find it. | The scope is Master, which searches the main rows only. | Choose Detail in the Scope group. The program then opens the master row of each result. |
| An error window appears when you search, with the text "Object reference not set to an instance of an object." The counter does not appear. | A visible calculated field is among the searched columns. | Click Close, untick the calculated field in Search Fields and search again. |
| A column you showed is not searched. | The searched columns are taken when the bar opens. | Tick it in Search Fields or reopen the bar. |
| The search was cleared by itself. | You changed a filter or the columns of the table. | Search again. |
Related
- Report grid tools: every button of the search tools
- Report viewer
- Filter report data
- Sort, group and summarize a grid
This page applies to alameen ERP 10, version 10.1.79.764.