If you want to default the search column in an Interactive Report, you can easily accomplish this with a Dynamic Action on the After Refresh event of your IR. This way instead of the report searching all columns, it will search the one you set it to (unless the user selects something different, of course)
Dynamic Action: Set Default IR Search Column
Event: After Refresh
Selection Type: Region
Region: select the IR region on your page
$v("apexir_CURRENT_SEARCH_COLUMN") == ""
$s("apexir_SEARCH_COLUMN_DROP", "Empno"); $s("apexir_CURRENT_SEARCH_COLUMN", "EMPNO");
Make sure it does fire on Page Load.
There are two values that need to be set. What the user sees on the screen “apexir_SEARCH_COLUMN_DROP” and what the IR will use as a column “apexir_CURRENT_SEARCH_COLUMN”, make sure this last one matches your column name.
By using the After Refresh event we make sure the default search column is set again after the report refreshes.
Thanks to Jorge Rimblas