How to apply an accent-insensitive search to an interactive report?

Hello all!
I'm trying to put an accent-insensitive search on an interactive report here. For example, if I'm on the page that has the interactive report and if I click the column header of the interactive report, I get to see a search bar that dynamically shows the results that match your input. Now, when I enter "jager", I want to see *"Jägermeister"* as a search result. The search must be accent-insensitive, so that I don't have to enter the ä every time.
My code is as follows:
SELECT name
FROM food_1
WHERE name LIKE 'Jagerme%'
AND NLSSORT(name) IS NOT NULL
ORDER BY NLSSORT(name, 'NLS_SORT=GENERIC_M_AI');As you can see, I first tried getting a result through the SQL Command. It should return the row that has "Jägermeister" as name. However, it doesn't. It tells me "No data found". So, how do I alter my NLSSORT to search accent-insensitive?
Some extra information, I edited the interactive report source to the following:
SELECT DISTINCT a.name, a.foodid
FROM food_1 a INNER JOIN foodunit_1 c
ON a.foodid = c.foodid
WHERE a.foodlanguageid = :P17_SET_LANGUAGE
AND NLSSORT(a.name) IS NOT NULL
ORDER BY NLSSORT(a.name, 'NLS_SORT=GENERIC_M_AI');I also tried doing ALTER SESSION before the SQL code, but it still gives me the same result: No data found.
I'm using APEX version 4.1.1.00.23.
Help and suggestions are more than welcome. ;)
Thanks in advance,
Magali

I found it out!
It's really ridiculous, actually.
Remember this code?
execute immediate ('ALTER session SET NLS_COMP=LINGUISTIC');
execute immediate ('ALTER session SET NLS_SORT=BINARY_AI');Well, this code is perfectly fine. Only, it doesn't execute. This is because it was misplaced...This process is not executed when you place it in the current authentication scheme, under the "Post-Authenticatoin Process" part.
You might wonder why this is, but I have the explanation to that.
You see, when you use an interactive report, the page processing isn't executed when you use the search function of that interactive report... Because it's an interactive report, I guess.
BUT.
An ALTER SESSION from the security attributes, that will execute.
So, the solution to my problem was, in this case:
Go to "Application" --> "Shared Objects" --> "Security Attributes" --> "Database Session" --> "Initialization PL/SQL code". In there, you need to put:
BEGIN
EXECUTE IMMEDIATE 'ALTER session SET NLS_COMP=LINGUISTIC';
EXECUTE IMMEDIATE 'ALTER session SET NLS_SORT=BINARY_AI';
END;By doing this, there's no longer any need to edit the source code of the report!
So, that's the solution. I can finally enter text without special characters in it, and get the corresponding data, with special characters... Ahh. :)
I hope this is helpful to others as well now. ;)

Similar Messages

  • Accent insensitive Search - plz help me correcting this query

    Hello,
    I just realized that with that query, if I search for "Montreal" (without the accent), I have all the following results, which is what I want
    SELECT
    "ID","TIT"
    from   "REGDOSSIERS" "RDO"
           where
             TRANSLATE(UPPER("TIT"),'ÀÂÉÈÊÎÔÛÙÜ','AAEEEIOUUU')
             like upper(nvl(replace('%' || "P1_REPORT_SEARCH || '%',' ','%'),"TIT"))
    RESULTS
    TIT
    Annuaires Lovell (Montréal et banlieue)
    Juridiction royale de Montréal. Dossiers, 1677-1769
    Montreal Witness, 1845-1938
    {code}
    But how to change it so when I look for: "Montréal" (with the accent) , I have also the same results? Right now, with Montréal, I have nothing
    thanks,
    Roseline
    Edited by: Roseline on 2009-10-01 18:58
    Edited by: Roseline on Oct 1, 2009 7:34 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If you are on Oracle 10g you can use regexp expressions to do the search.
    Example
    with testdata as (select 'Montreal' txt from dual
                      union all select 'Montréal' txt from dual
                      union all select 'Montreâl' txt from dual
                      union all select 'Montreaux' txt from dual)
    /* end of test data creation */
    select txt from testdata
    where regexp_like (txt, 'Montr[[=e=]]al');
    txt
    Montreal
    Montréal[[=e=]] would be an equivalence class for the letter "e" and includes also searches for é, è, ê etc.
    The best solution mainly depends how your search string is build.
    If you just want to sort, then the nlssort function would be useful.
    Mentioning Nlssort I remembered there is a much better way to implement Accent insensitive search. You just need to set your NLS_SORT parameter correctly. Either to BINARY_AI (the AI means accent and case insensitiv) or add _AI to your nls langage.
    example
    ALTER SESSION SET NLS_COMP=LINGUISTIC;
    alter session set nls_sort = 'FRENCH';
    with testdata as (select 'Montreal' txt from dual
                      union all select 'Montréal' txt from dual
                      union all select 'Montreâl' txt from dual
                      union all select 'Montreaux' txt from dual)
    /* end of test data creation */
    select txt from testdata
    where txt = 'MONTREAL';
    no rows selects
    /* now change the nls sorting */
    alter session set nls_sort = 'FRENCH_AI';
    with testdata as (select 'Montreal' txt from dual
                      union all select 'Montréal' txt from dual
                      union all select 'Montreâl' txt from dual
                      union all select 'Montreaux' txt from dual)
    /* end of test data creation */
    select txt from testdata
    where txt = 'MONTREAL';
    txt
    Montreal
    Montréal
    MontreâlEdited by: Sven W. on Oct 2, 2009 8:34 AM
    Edited by: Sven W. on Oct 2, 2009 10:22 AM - corrected misleading regexp example.

  • How to remember what I search for in Interactive Report's search field

    Hi.
    I made Cro-Eng dictionary using Interactive Report by joining two table columns of Croatian and English word. Now I want to remember every word that I write in the search field of Interactive Report by filling the table SEARCHEDWORDS which has two columns WORD and DATE, so that I can see all the searches that were made and the date they were made. Is it possible? Do I need triggers for that, or do I do it through processes in edit page of Interactive report? something like INSERT INTO SEARCHEDWORDS (WORD, DATE)
    VALUES (?SOMETHING?, SYSDATE);

    Hi Tihomir,
    The last step is Javascript so you'll need to create an HTML region and wrap the code in <script> tags. The Javascript basically overwrites the default actions to refresh the IR report. Instead it says to call a custom function which first logs the search request then makes a request to refresh the IR region.
    jQuery is used to help manipulate these links. jQuery is a javascript library. You can read more about it at jquery.com. To see more examples, Insum has an excellent jQuery for APEX page: http://apex.oracle.com/pls/otn/f?p=987654321:home:0
    If you have multiple IR pages then you can include the code on Page 0 or on each of those pages. Since you're trying to log information for several different IR you may want to add some extra columns to your log table to include which IR the searches belong to. You'll also need to update your application process and (depending on your requirements) some of the javascript code.
    Martin
    [http://apex-smb.blogspot.com/]

  • Search/Filter through Interactive Report!

    Hi All,
    First of all WISH a very Happy New Year-2010!!
    In my previous post for Search/Filter through Interactive Report!
    I am facing problem with UI as mentioned below can any one help me out on this, as this an urgent for me...
    At last i was able to was able to retrieve the data from Iframe using different logic!!
    But i want to modify some of the modifications in UI Design..
    As i have informed u that End user always selects the Page-85 which is visible to them..
    In that page(85) i have totally created three regions.
    1. Attribute Report(Intearctive report)
    2. Manage Attribute(HTML where i have give iframe syntax as {iframe ID="Attribute Report" src="" style="width:520;" FRAMEBORDER=0></iframe>
    3. Create/Edit Region
    FYI: There is a create button in Attrinbute Report and when i click on that Button then only i wil display the Create/Edit Region
    Now the problem is end user are using pixels as 1024*756 size, when i have tried to increase the size of width in iframe, the create/edit region is crossing and
    need to scroll down to check the data.
    Let us assume if i had reduced the size of width as default 520 then create/edit region is placed with in pixcels.
    As u know there is a button called as "GetResults" in page-85 when i clik on that button we will call the iframe which is a hidden page where end user
    can not view.
    The main problem is that in that page i mean page-45, it has desgined in such a way that it is similar to page-85 which is having with all 3 regions!!
    When it will display the report from iframe for that the scrolloing is displayed, and when i had click on create button in that iframe the credit/edit region is
    displayed but for that there to scroll down which is not happy by endsuer.
    In order to overcome this i had tried to increase the width in iframe which is working for one not for the other or viceversa.
    Suggestion: Can u suggest me how to fix the pixcels so that it will not excceds the pixecls size?
    What i had thought is in page-85 i have created totally 4 regions instead of 3 regions as shown below:
    1. Attribute Region
    2. manage Attribure(With Iframe)
    3. manage Attribute(With out iframe but used one hidden varibable ans set that hidden in condtional region)
    4. Create/Edit Region.
    And i am setting that hidden variable in Create button, so that i can call the second manage attribure with iframe.. When i have tried to use that it is throwing script error as "style is null or nor an object", i belive scince we are hidinng that region it migh not able to identify that style!!!
    Can u suggest me the way i have done i had implemenetd is sounds goods for u? Or else can u help me out how to fix that UI design issue...
    Thanks in advance,
    Anoo..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Andy,
    As per your suggestion i have created two pages!. One is 85 page and 45 page, but foe enduser can see only the 85 page.
    In 85 page i have created a interactive report as shown below:
    SELECT distinct attr_code "EDIT", attr_code, attr_description, attr_atcl_code,
    attr_abbreviation,
    attr_include_short_desc "Include short desc",
    attr_include_long_desc "Include long desc",
    attr_attr_type "AttrType", attr_code "DELETE"
    FROM t_append WHERE EXISTS (SELECT 1
    FROM APEX_APPLICATION_PAGE_IR_COND
    WHERE APPLICATION_ID = :APP_ID
    AND PAGE_ID = :APP_PAGE_ID
    AND CONDITION_ENABLED = 'Yes'
    AND APPLICATION_USER = :APP_USER) ORDER BY attr_description;
    In the same page itself i have created a One more region, where i have one select list and submit button, when there select fro the list and click on submit button then popup should fired, i mean what u have mentioned. For that i have created a new page called 45 where i have two regions one is HTML region and second is interactive report.
    I html region i have given like this in source
    <iframe src="f?p=&APP_ID.:85:&SESSION." style="width:500; height:1000;" FRAMEBORDER=0></iframe>
    but i am not able to see the template at all?
    Pls correct i way i have done is correct or not.
    Also i was not able to see the Region as - Popup one ( where i can see the popup option?)
    Thanks,
    Anoo..

  • Accent insensitive search without nls_comp

    Is there a function to make oracle search accent insensitive? I can't use nls_comp so I would like to know if there is another way to accomplish it.
    Thanks
    M

    Obviously your unknown database version running on an unknown OS is less then 11.1.0.7 . Statement from Oracle:
    Known problems using NLS_COMP=LINGUISTIC.
    While you can use LIKE with NLS_COMP=LINGUISTIC in 10.2 , we recommend to
    use 11.1.0.7 seen using linguistic index for like operator is an 11g new feature ......
    In other words there's a solution, when running the latest patchset for 11gR1.
    Werner

  • How does the Filter Operator "Contains" work on the Interactive Reports?

    version 4.0.2.00.07
    Hello,
    I'm creating Tool Tip definitions for the Operators in the Filter on the Interactive Reports. I was looking for a definition for the 'Contains' operator and from what I've found this operator is used to do a text search and it returns a relevance score for every row selected.
    I've also read that in order for that score to be determined that the column(s) need to be indexed with a CONTEXT index. Non of the columns in the tables are indexed with a CONTEXT index, however, when I put a value in the Expression box for a column I get a record returned.
    If I run the same query in PL/SQL Developer like:
    SELECT <column>
    FROM <table>
    WHERE contains(<column>,<search text>,1) > 0;I get an error that the column is not indexed, so how does it work in APEX?
    Thanks,
    Joe

    Joe R wrote:
    I'm creating Tool Tip definitions for the Operators in the Filter on the Interactive Reports. I was looking for a definition for the 'Contains' operator and from what I've found this operator is used to do a text search and it returns a relevance score for every row selected.The IR "Contains" filter is not the same as the Oracle Text <tt>contains</tt> operator.
    The IR "Contains" filter performs a simple string comparison on all of the column values returned. It does not make use of any Oracle Text indexes on the underlying data.
    Despite < a href="https://forums.oracle.com/forums/thread.jspa?messageID=2434666">vague promises of enhancement</a>, no Oracle Text support has yet been included in Interactive Reports.

  • Set default search column in Interactive Report

    Hi All:
    In APEX 4.0, for "Interactive Report" search function:
    If user doesn't select a column name to search for (this is done by click Magnifier glass icon), the IR will search "All Columns" that contains a string you have typed in the search bar.
    Is there a way to configure IR so that, by default, it will not search "All Columns", instead, it should search a particular column that I will specify when define this IR report.
    Why I am asking this? Here is my case:
    I have created a IR report to search employee information. By default, when user enters a string in the search bar, user want to search "Emploee Full Name" column in my IR report. User wants this default search behavior and really doesn't want to "click Magnifier glass icon and select "Employee Full Name" column; then type the search string).
    Basically, in my case, the IR report should default to search "Employee Full Name" if user doesn't select any search column.
    Any idea how to achieve this?
    Thanks!
    Kevin

    In the above DA, Changing the 'Event Scope' to 'Dynamic' should trigger it after PPR. I tried it but it's not working for me.
    Try the below it's working for me as expected,
    Create DA like below,
    Event: After Refresh
    Selection Type: Region
    Region: Select your IR region
    In True Action,
    Action: Execute Javascript Code
    Code:
    $s('apexir_SEARCH_COLUMN_DROP','COLUMN_LABEL');                           
    $s('apexir_CURRENT_SEARCH_COLUMN', 'COLUMN_ALIAS');
    In Affected Element,
    Selection Type: Region
    Region: Select your IR region
    Event Scope: bind (Default)
    Make sure Fire On Page Load under 'Execution Option' is checked. (i.e. Fire On Page Load: Yes)
    I am using APEX 4.0.2.00.07. It's working for me also in apex.oracle.come it's working in my example application.
    Thanks
    Lakshmi

  • Cancel the search in an Interactive Report

    Hi ,
    My Interactive Report will run for a minute or for a long time like 5 to to 10 minutes depending upon given parameters to the report.
    Now I would like to cancel the report search when I made a mistake like searching on a value which willtake more time.
    Please suggest how to achieve the same.
    Regards,
    Meda

    You could try to reset the report using a page button for example. See this:
    http://dpeake.blogspot.de/2008/03/advanced-interactive-reports.html
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Case insensitive ordering in an interactive report

    How would I alter the interactive report so that the inbuilt ordering will order alphabetically, regardless of case?
    the default behaviour seems to be that it orders using lower a-z and then upper a-z.

    a long time ago (...) I created a solution where I modified the column headers. If you hover over a column header with the mouse, you see that it is a generated link. I also created a hidden column, but modified the header of the visible link so that it refers to the hidden column.
    Not too sure if it's easy to als make it sort asc/desc alternating, but you should be able to do at least an asc sorting with not much trouble.

  • Accent insensitive + Search for 2 non consecutive keywords

    Hi,
    In APEX, I have a query the search into a list of TITLE (TIT), with or without accents. I cannot search for 2 non-consecutive word in my title and have the result.
    Here an example:
    SELECT
    "ID","TIT"
    from   "REGDOSSIERS" "RDO"
    where
    instr(TRANSLATE(UPPER("TIT"),'ÁÂÈÉÊÍÓÚÜ','AAEEEIOUU'),upper(nvl(:P1_REPORT_SEARCH,"TIT")) ) > 0
    TIT
    Last name of the resolution
    King Henry the Sixth
    The Gazette
    The Comedy of Errors
    La vie enchanté
    Le bêtes et les oiseaux1- If I look for: Last Name_, I have this result:
    TIT
    Last name of the resolution2- If I look for: Last resolution*,
    I have NO RESULTS
    My Question: How to I rewrite my query to have be able to look for 2 keywords non consecutive in the field,
    thanks
    Roseline, Quebec, Canada
    Edited by: user8772975 on 2009-09-04 10:47
    Edited by: user8772975 on 2009-09-04 10:49
    Edited by: user8772975 on 2009-09-04 10:50
    Edited by: Roseline on Oct 1, 2009 7:27 PM

    Hi,
    If you know the order of the keywords (that is, if 'LAST' must come before 'RESOLUTION'):
    WHERE  str  LIKE '%LAST%RESOLUTION%'where str is the string with accents standardized.
    Now, since you're starting with a variable like 'LAST RESOLUTION', you need to convert it to '%LAST%RESOLUTION%', so say
    WHERE  str  LIKE '%' || REPLACE ( :p1_report_search     -- TRANSLATE would work, too
                   || '%'Watch out for the "mother is in chemotherapy" problem.
    That is, if str = 'AMY''S ORDEAL WITH CHEMOTHERAPY", and :p1_report_search = 'MY MOTHER', you'll get a match, because str contains the 2-character sibstring 'MY' and the 6-character substring 'MOTHER' in that order.
    If that's not what you want, then you can search on whiole words only, like this:
    {code}
    WHERE ' ' || REPLACE ( str
              , ' '     -- 1 space ...
              , ' '     -- ... becomes 2 spaces
         || ' ' LIKE '% ' || REPLACE ( :p1_report_search     -- TRANSLATE won't work, now
                        , ' % '     -- spaces before and after wild-card
                   || ' %'
    {code}
    This assumes that all words are delimited by spaces.
    If you want punctuation or other whtiespace (like tabs) to delimit words, that can be done, too.
    Edited by: Frank Kulash on Sep 4, 2009 2:09 PM
    Added whole-word example.

  • How to apply modified UI Defaults to existing forms and reports?

    Hi all--
    I've been struggling with UI defaults and after searching through posts in this forum, it doesn't look like I'm alone.
    Is there a way to apply changes made to UI defaults to existing forms and reports? New forms and reports pick up the changes, but can they by applied retoactively?
    Thanks in advance,
    Dan Krautheim

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • How to apply "Custom Layout" to a XSLT + COCOON + APACHE Report

    I've created a new shared Report Layout, the Report Layout Type is "Generic Columns (XSL-FO)" , under " Home > Application Builder > Application 106 > Shared Components > Report Layouts ", this layout just adds the font-style="italic" color="red" attributes to the column headings.
    How can I apply this Layout to an existing or a new report?
    Thanks for your help.
    Nelson

    Found what I was looking for, since existing repots, can't get it's XML extracted a report can't be generated from them. Only for a new custom query.
    The answer would be:
    Create a custom query, extract XML, create a XSL Template from the XML, upload the template, USE :D.
    Nelson.

  • How to apply a master template in a built webI report

    Hi Experts,
    I have around 60 webI reports already built in WebI (BO 4.0 with BICS conection). Now, my client wish to change the lay out in order to adapt to new visual requirements.
    I was wondering if is there any way to apply a master template and minimize the effort because for while the unique solution for this is change the xml file.
    Any ideas?
    thanks in advance, 
    Eduardo Moreno

    Hi Eduardo,
    Master template or Template is npt possible for Webi reports in BO 4.0..

  • How to apply WWW_LIST_TO_HTML - Open/Transfer/Close Dataset to ALV Reports

    hello people! So far I have done some good progress regarding this thanks to many of you people. I do have some hurdles and one of them involves ALV Reports. So far I use
    WWW_LIST_TO_HTML - to temporarly store the list report to a table known as ihtml.
    and Open/Transfer/Close data set to send the file to the application server using the syntax below
    <b>OPEN DATASET file FOR OUTPUT IN BINARY MODE.
    LOOP AT ihtml.
      TRANSFER ihtml TO file.
    ENDLOOP.
    CLOSE DATASET file.</b>
    So far the program works fine in the report with the expection if its one that generates an ALV Report.
    My question is that is there a way to successfully run the program the way it was mentioned above using ALV? If so what techniques do you guys suggest?
    <b>Note:</b> Also please note the report and transfering/writing of the file has to be done during background processing.
    Hope I get some replies soon as many of you have been most helpful thank you and good day.

    Hi chad,
    1. yes u are right
    2. it will give this error only.
    3. the reason is, the www_list_to_html
       is exected after list display,
    4. the code comes there when
       we press BACK, and at that time
       no list is there in memory.
    <b>5. So we have to use some workaround.
    6. END_OF_LIST
    7. We have to use this EVENT
       and inside this event,
       we have to export to HTML.</b>
    8. I tried and it works FANTASTIC
    9. Just copy paste this program.
          (it will show a alv list of t001,
        and write the HTML file also)
      ( i have used END_OF_LIST event)
    10.
    REPORT abc.
    TYPE-POOLS : slis.
    Data
    DATA : BEGIN OF itab OCCURS 0.
            INCLUDE STRUCTURE t001.
    DATA : END OF itab.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    Select
    SELECT * FROM t001 INTO TABLE itab.
    *-------  Field Catalogue
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        i_program_name         = sy-repid
        i_internal_tabname     = 'ITAB'
        i_inclname             = sy-repid
      CHANGING
        ct_fieldcat            = alvfc
      EXCEPTIONS
        inconsistent_interface = 1
        program_error          = 2
        OTHERS                 = 3.
    DATA : alvev TYPE slis_t_event .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        i_list_type = 0
      IMPORTING
        et_events   = alvev.
    PERFORM alv_setevent USING 'END_OF_LIST' 'ITAB'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        it_fieldcat             = alvfc
        i_callback_program      = SY-REPID
       i_callback_user_command = alvcallback_formname
        it_events               = alvev[]
      TABLES
        t_outtab                = itab
      EXCEPTIONS
        program_error           = 1
        OTHERS                  = 2.
    form itab_end_of_list.
    Display
    data : ht like table of W3HTML.
    CALL FUNCTION 'WWW_LIST_TO_HTML'
    EXPORTING
    list_index = sy-lsind
    TABLES
    HTML = ht
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        filename                        = 'd:\my.html'
      tables
        data_tab                        = ht
    endform.
    *=============This Function Links the Event Name To The Specified Form
    FORM alv_setevent USING value(eventname) value(alvitabname).
      DATA: tempev TYPE slis_alv_event.
      DATA : formname(30) TYPE c.
      TRANSLATE eventname TO UPPER CASE.
      CONCATENATE alvitabname '_' eventname INTO formname.
      TRANSLATE formname TO UPPER CASE.
      LOOP AT alvev INTO tempev WHERE name = eventname.
        tempev-form = formname.
        MODIFY  alvev FROM tempev.
      ENDLOOP.
    ENDFORM.                    "alv_setevent
    regards,
    amit m.

  • Highlight Search Words in Interactive Report

    I have been searching and searching for days for a solution to highlight the search words in the IR. I was thinking to grab the search field value and do a global replace in the report region, but it looks like the search report is generated by javascripts. I really appreciate if anyone can help me out..thanks
    Edited by: 889129 on Oct 3, 2011 10:19 AM

    Is this the kind of thing?
    http://apex.oracle.com/pls/apex/f?p=579:45
    Basically, implement this JQuery plugin
    http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
    Then create a hidden/unprotected item 'P45_SEARCH'
    Next create 2 x dynamic actions:
    1. Before Region Refresh run JS
    $("#P45_SEARCH").val($("#apexir_SEARCH").val());2. After Region Refresh run JS
    var lv_search = $('#P45_SEARCH').val();
    if (lv_search) {
    $('td').highlight(lv_search);
    }I've not had time to polish it, but it might give you some ideas.
    I hope it helps
    Shunt

Maybe you are looking for

  • How to get sql server performance counters using query?

    Hai i want to see my sql server performance counters like, Full Scans/sec,  Buffer Cache Hit Ratio,  Database Transactions/sec, User Connections, Average Latch Wait Time (ms), Lock Waits/sec, Lock Timeouts/sec, Number of Deadlocks/sec, Total Server M

  • No auto-detection of new projects in Workspace? Only Import possible?

    I got the project sources for a new project from a friend. I extracted all the stuff in a subfolder of the Workspace of FlexBuilder and expected that FlexBuilder will automatically recognize this new project and add it to the Flex navigator. But this

  • Manual Importing How does this work?

    I'm confused as often is when it comes to computer technology. So anyway I had to switch to manual importing because of multilple computers, but I'm not sure how to operate it. What do I need to do when I get new music and need to import them? I didn

  • Is there any way to pull out computer Mac addresses from GPO?

    Hello! I was wondering if there is any way to pull out the mac address from all the computers in the organisation via the group policy? It would be rather difficult to pull out mac address one by one from each computer. Appreciate your assistance and

  • Spilled water over laptop :-( lost all i-tunes music!!

    Hi there! Yes I know I'm really, really silly but last week I kicked a glass of water all over my laptop rendering it completely useless. I ost everything as nothing could be retrieved from the hard drive....Baically all my purchased music from i-tun