Idea Summary
I propose extending advanced search capabilities to all Oracle APEX LOV components: Popup LOV, Select One, Select Many, and Combobox.
The requested enhancements are:
1. Tokenize Row Search
Extend the existing Tokenize Row Search functionality from Interactive Reports and Interactive Grids to LOV components.
Allow users to enter multiple words in one search box and search across multiple columns simultaneously.
For example:
1100500001 MR Waqas Akhtar
1100500001 matches ITEM_CODE.
MR Waqas Akhtar matches CC_DESCRIPTION.
Support configurable AND/OR matching.
2. Genuine SQL LIKE Wildcard Support
Support % and _ as genuine SQL LIKE wildcard characters in LOV searches.
Examples:
123% – values starting with 123.
%123 – values ending with 123.
%123% – values containing 123.
A%B%C – values containing A, followed by B, followed by C, with any characters between them.
This would also restore useful wildcard functionality that was available in Popup LOV before APEX 26.1.
3. Raw Search Text as SQL Bind Variable
Expose the original search text through a bind variable in SQL-based LOV queries, including Function Returning SQL Query LOVs.
This would allow developers to implement custom multi-column search conditions without requiring plugins or JavaScript workarounds.
Use Case
These features would be particularly useful in enterprise applications involving large datasets.
Examples include:
- Financial applications: Account numbers, descriptions, and cost centers.
- ERP applications: Item codes, descriptions, and product categories.
- Inventory management: Stock codes and item descriptions.
- HR applications: Employee IDs, names, and departments.
- Project management: Project numbers, names, and cost centers.
Users often know only part of a code or a few words from a description. Searching multiple columns simultaneously in one search box would significantly improve usability and productivity.
Prefix searching could also improve performance when appropriate indexes are available.
Preferred Solution (Optional)
Provide declarative settings for all LOV components:
- Tokenize Row Search: Yes / No.
- Token Matching: AND / OR.
- Match Type: Contains / Starts With / Exact Match.
- Wildcard Support: Enable / Disable genuine
% and _ LIKE patterns.
- Case Sensitivity: Yes / No.
- Searchable Columns: Allow developers to select searchable LOV columns.
- Search Text Bind Variable: Expose raw search input to SQL-based LOV queries.
Please also consider a backward-compatibility option for applications migrating from older APEX versions.
The goal is to make LOV searching as powerful as Interactive Grid and Interactive Report searching while keeping the implementation declarative and eliminating custom plugins and workarounds.
Thank you for considering this enhancement.