diff --git a/docs/dcu-tableviewer.md b/docs/dcu-tableviewer.md index 967c541..155027c 100644 --- a/docs/dcu-tableviewer.md +++ b/docs/dcu-tableviewer.md @@ -16,6 +16,16 @@ Row and Column level security can also be applied in VIEW mode, as can additiona A single search box can be used to make a full table search on any character or numeric value, using this [macro](https://core.sasjs.io/mp__searchdata_8sas.html). +The search covers **every** column of the table at once, so you do not need to know which column holds the value you are looking for: + +- **Character search** (the default) is a case sensitive CONTAINS match against every character column, so `Smith` finds `Smithson` and `smith` finds `Goldsmith`, but `smith` will not find `Smithson`. +- **Numeric search** (tick the Numeric box) is an exact match against every numeric column, so `42` will not find `420` or `4210`. +- If a filter is applied, the search runs within the filtered rows rather than the whole table. +- The result set is capped by the [`DC_MAXOBS_WEBVIEW`](/dcc-options/#dc_maxobs_webview) option (500 rows by default). The row count shown next to the table name is the number of rows the search matched, which can be higher than the number of rows displayed. +- A search that matches nothing shows a "No data found with given conditions" panel rather than an empty grid. + +![Full table search](img/full-table-search.png) + ## Options diff --git a/docs/img/full-table-search.png b/docs/img/full-table-search.png new file mode 100644 index 0000000..e65a12b Binary files /dev/null and b/docs/img/full-table-search.png differ