URGENT:Expected behaviour when two buttons are clicked on a page?

Hello,
I have developed a search page. In the search results region, I have option to delete and update a record. What is the expected behaviour if I first click on the delete icon of one record and then click on the update icon of another record?
I am getting an error page starting with the following line : oracle.apps.fnd.framework.OAException: java.lang.NullPointerException.
Could anyone guide me about how I can correct this situation?
In Dev guide, I saw the section 'PPR Event Queuing'. They have mentioned the below lines in this section :
Note: To disable this feature, set the value of the profile FND_PPR_EVENT_QUEUE_DISABLED to Y. In this
case, when a PPR event fires, all subsequent events on the page are ignored.
Is it possible to set the profile FND_PPR_EVENT_QUEUE_DISABLED to Y in the PR of the search page? Or should I set the profile value through front end for the responsibility for which I'll be adding this search page?
Thanks,
Anju

I had looked through the error message but I couldnt find anything related to the coding I have done.
I have pasted the entire error message below:
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
     at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5448)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseApplicationModule(OAPageContextImpl.java:2491)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseRootApplicationModule(OAPageContextImpl.java:2439)
     at oracle.apps.fnd.framework.webui.OAPageBean.performReleaseApplicationModules(OAPageBean.java:4151)
     at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:3926)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:552)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.NullPointerException
     at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2343)
     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.deleteValue(OAHttpSessionCookieImpl.java:825)
     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.releaseApplicationModule(OAHttpSessionCookieImpl.java:526)
     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:584)
     at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5439)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseApplicationModule(OAPageContextImpl.java:2491)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseRootApplicationModule(OAPageContextImpl.java:2439)
     at oracle.apps.fnd.framework.webui.OAPageBean.performReleaseApplicationModules(OAPageBean.java:4151)
     at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:3926)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:552)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
     at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2343)
     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.deleteValue(OAHttpSessionCookieImpl.java:825)
     at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.releaseApplicationModule(OAHttpSessionCookieImpl.java:526)
     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:584)
     at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5439)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseApplicationModule(OAPageContextImpl.java:2491)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.performReleaseRootApplicationModule(OAPageContextImpl.java:2439)
     at oracle.apps.fnd.framework.webui.OAPageBean.performReleaseApplicationModules(OAPageBean.java:4151)
     at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:3926)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:552)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)

Similar Messages

  • Is it possible to fire an event when radio buttons are clicked in a report?

    Hi All,
    I have got a requirement. In the selection screen i have certain input fields and three radio buttons. When radio buttons are clicked i have to grey out certain input fields. Is it possible to fire an event when i write program through se38??
    Thanks
    Rakesh

    Hi Rakesh,
    Check this code.
    SELECTION-SCREEN BEGIN OF BLOCK FINPUT WITH FRAME TITLE TEXT-001.
    PARAMETERS  : FILENAME(132) TYPE C LOWER CASE  NO-DISPLAY,
                  FDLOAD RADIOBUTTON GROUP RAD1
                  USER-COMMAND R1 ,
                  FUPLOAD RADIOBUTTON GROUP RAD1 .
    SELECTION-SCREEN END OF BLOCK FINPUT.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
    PARAMETERS : FUNAME(132) TYPE C LOWER CASE MODIF ID AA.
    SELECTION-SCREEN PUSHBUTTON /33(30) ACTION USER-COMMAND
                     BTNACT MODIF ID AA VISIBLE LENGTH 8 .
    SELECTION-SCREEN PUSHBUTTON 43(30) CANCEL USER-COMMAND
                     BTNCAN MODIF ID AA VISIBLE LENGTH 8  .
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETERS : FDNAME(132) TYPE C LOWER CASE MODIF ID BB.
    SELECTION-SCREEN PUSHBUTTON /33(30) ACTIONS USER-COMMAND
                     BTNACT1 MODIF ID BB VISIBLE LENGTH 8.
    SELECTION-SCREEN PUSHBUTTON 43(30) CANCELS USER-COMMAND
                     BTNCAN1 MODIF ID BB VISIBLE LENGTH 8.
    SELECTION-SCREEN END OF BLOCK B2.
    DATA : ACTNAME(8) TYPE C,SCRGRUP(2) TYPE C.
    INITIALIZATION.
    ACTIONS = 'Download'.
    CANCEL = 'Cancel'.
    ACTION = 'Upload'.
    CANCELS = 'Cancel'.
    ACTNAME = 'Download'.
    SCRGRUP = 'AA'.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
    IF FUPLOAD = 'X'.
         MOVE 'Upload' TO ACTION.
         MOVE 'Upload' TO ACTNAME.
    ELSEIF FDLOAD = 'X'.
         MOVE 'Download' TO ACTION.
         MOVE 'Download' TO ACTNAME.
    ENDIF.
    AT SELECTION-SCREEN.
    IF SY-UCOMM = 'R1'.
        IF ACTION = 'Download'.
          SCRGRUP = 'AA'.
         MESSAGE S007(ZMESSAGE).
        ELSEIF ACTION = 'Upload'.
          SCRGRUP = 'BB'.
         MESSAGE S008(ZMESSAGE).
       ENDIF.
    ELSEIF SY-UCOMM = 'BTNCAN' OR SY-UCOMM = 'BTNCAN1'.
      LEAVE PROGRAM.
    ENDIF.
    *AT USER-COMMAND.
    CASE SY-UCOMM.
       WHEN 'ACTIONS'.
         LOOP AT SCREEN.
           IF SCREEN-NAME = 'FUNAME'.
           ENDIF.
         ENDLOOP.
    ENDCASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FUNAME.
      PERFORM call_filedialog CHANGING FUNAME.
    PERFORM call_filedialog CHANGING FUNAME.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = SCRGRUP AND ACTNAME = 'Download' .
      SCREEN-ACTIVE = 0.
      MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = SCRGRUP AND ACTNAME = 'Upload'.
      SCREEN-ACTIVE = 0.
      MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    FORM call_filedialog CHANGING fname.
      DATA: li_filetable TYPE STANDARD TABLE OF file_table,
        lv_return TYPE i,
        lw_filetable TYPE file_table.
      CALL FUNCTION 'TMP_GUI_FILE_OPEN_DIALOG'
        TABLES
          file_table = li_filetable
        EXCEPTIONS
          cntl_error = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      READ TABLE li_filetable INDEX 1 INTO lw_filetable.
      fname = lw_filetable-filename.
    ENDFORM.                    "call_filedialog
    Reward Points, if useful.
    Regards,
    Manoj Kumar

  • Scripting for when all buttons are clicked

    Im quite new to flash well at least the scripting part of it.
    I'm much more of a designer and I'm having big problems I know that
    it is prob very simple but I am totally useless at it! Can some1
    please just point me in the right direction thank you xxx

    If you're testing in flash you should see some trace outputs
    in the output panel. If you don't then there's something not
    working right.
    When you press each of your buttons, you want the main
    timeline to go to a different frame right? You need to set those
    frame targets in the code.
    example for but_bat:
    {button:but_bat, gotoFrame:2},
    this sets things up so that when but_bat is pressed, the
    timeline goes to frame 2.
    You will need to set the others for their correct frame
    targets. Just change the numbers for gotoFrame:
    number here
    Is what you want to happen when
    all of the buttons have been clicked that a congratulations
    sign movieclip is played? (You haven't said what you wanted it to
    do at that point, so I'm afraid I couldn't know that ;-) ) At the
    moment I've set the script up so that it checks... but all it does
    is trace an output:'I would normally want to do something special
    from this point' where whatever you want to have happen when
    they're all pressed would be requested by actionscript. If you tell
    me what that is, I can tell you the code to do it.

  • Browser flashes when any button is clicked on web pages

    This started about a week or so ago. Every time I click a button on any web page the browser flashes to white then back. It usually takes 3 or 4 clicks before it actually does anything. It started after I upgraded to Version 4 so I reverted back to Version 3 and worked my way back up to 4 to see if it would stop with any other version but it hasnt. Is this an issue with my browser or my pc?

    Hi Andrey,
    Thanks for your time and response.
    Let me told you, i was traying to implement what you say in your last post but now i'm facing a new problem,
    The way i used to create the new field from HTML for the comment is not correct because the data in the GRIDLAYOUT are paged, so, when i change the page all data that i introduced in the field are ereased and i must save that values before change the page in a kind of buffer or something like that.
    so my new question is this, Do you know a right way to add that field to GRIDLAYOUT?  and then save this values in a Z table before save al plan data into the infocube.
    Sorry for all this questions but ive read a lot of articles and I can't find anything really helpful
    I've read some articles what talk about this issue but in IP, sincerely i'm NEW in this topic.
    Regards.
    Tony Montes.

  • Creating a plot on a java Frame when a button is clicked

    hi
    I want to create a plot in a java application in a frame when a button is clicked.I mean to say a
    a plot between two single dimensional arrays one as x-axis and the other as y-axis. Can u please suggest me with an example
    Thank u

    JFreeChart

  • Load text or txt file into a table when a button is clicked by the user

    Can anyone please help me,
    I have a form where a user comes and uploads a text file(Unicode UTF-8) and clicks a button(Upload) ,
    when the button is clicked - it should load the text file data into the database table for the corresponding columns.
    Note: in text file columns are sapreted by tab(\t)
    & First row of text file contains column names.
    & Table name should be that text file name
    Can anyone please suggest me a possible solution or an approach.
    Thanks,
    Rathore
    Edited by: Rathore on May 14, 2010 1:49 AM

    Hi Legends and experts
    please reply give me some solutions

  • Access Bidder Tab Details when PUBLISH button is clicked

    Hi All,
    I've few requirements to enhance the functionality of PUBLISH button in Rfx Creation.
    One fo them is to trigger notification mails to all bidders when RFx is re-PUBLISHed by clicking PUBLISH button.
    I need to fetch all the bidder list from Bidder Tab whenever PUBLISH is clicked.
    Need to know where / which method has all these details so that I can enhance it.
    I know that PUBLISH is in the toolbar for FPM_OIF_COMPONENT.
    View - CNR_VIEW
    RFx Bidder tab details will get from the component /SAPSRM/WDC_UI_DO_BIDDER.
    I want to access the bidders when PUBLISH button is clicked.
    I want to which method is executed when PUBLISH button is clicked.
    Tried with CL_ABAP_DEBUGGER and CL_WDR_ACTION but not getting the ecaxt component which is calling.
    Is there any other way to debug?
    Thanks in Advance
    Rgrds,
    Sravan

    A bit late, but method /SAPSRM/IF_FPM_OVRIDE_EVT_OIF~OVERRIDE_EVENT_OIF from /SAPSRM/CL_FPM_OVRIDE_OIF is extremely useful trying to debug where the info comes from.
    Basically, there are several mappers classes that access to pdo layer somehow. It is always the same process more or less, but you have to know which classes are involved.
    You can usually get a class that is accesible from your wd component. If no BAdIs or no other way of doing some z modification, it is always posible to directly enhance such class...
    Hope this helps
    Regards

  • Display success message in same page when submit button is clicked

    I have a jsp page, where i use a form to submit data into my database.when submit button is clicked, i am able to display "Data entered Successfully" in a different page. But i want to display the message in the same jsp page.
    what do i do?
    PS :- i have tried a javascript message box, but that is not working properly. I need this solved urgently.
    Thanks

    Hi Deeptha,
    What is APEX version your using and is it your select list with submit option ?
    Regards,
    Ajay Periwal

  • Badi/userexit for va01,when save button is clicked

    hi friends,
    i want badi/userexit which triggers when save button is clicked in va01 tcode.
    Thanks,
    Gaurav

    Hello,
    You can debug the standard code ( /h before pressing save button) searching for user-exits or badis.
    Set breakpoints in statements. For example if you are looking for call customer-fuction, click on:
    Breakpoint --> Breakpoint at --> Breakpoint at Statement
    and then here write: CALL CUSTOMER-FUNCTION
    Then pressing F8 it will go directly to the next breakpoint (user exit for this transaction).
    I hope it will help you.

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • Load CSV file into a table when a button is clicked by the user

    Hello,
    Can anyone please help me out with this issue, I have a form where in a user comes and uploads a CSV file and clicks a button, when the button is clicked - it should load the CSV file data into the database table for the corresponding columns.
    Can anyone please suggest me a possible solution or an approach.
    Thanks,
    Orton
    Edited by: orton607 on May 5, 2010 2:00 PM

    thanks fro replying.
    I have tried your changes but its not working. One more question is that I am having one column which contains commas, when I tried to load the file its failing. I think its the problem with commas. So I have changed the code to use the replace function for that column, then also its not working. Can anyone please suggest a possible approach. Below is my source code for your reference.
    DECLARE
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len NUMBER := 1;
    v_line VARCHAR2 (32767):= NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows NUMBER;
    v_sr_no NUMBER := 1;
    l_cnt BINARY_INTEGER := 0;
    l_stepid NUMBER := 10;
    BEGIN
    delete from sample_tbl;
    -- Read data from wwv_flow_files</span>
    select blob_content into v_blob_data from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    -- Read and convert binary to char</span>
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved </span>
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    -- Insert data into target table </span>
    EXECUTE IMMEDIATE 'insert into sample_tbl(col1..col12)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12)'
    USING
    v_sr_no,
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4),
    v_data_array(5),
    v_data_array(6),
    v_data_array(7),
    v_data_array(8),
    REPLACE(v_data_array(9), ':', ','),
    to_date(v_data_array(10),'MM/DD/YYYY'),
    v_data_array(11);
    -- Clear out
    v_line := NULL;
    v_sr_no := v_sr_no + 1;
    l_cnt := l_cnt + SQL%ROWCOUNT;
    END IF;
    END LOOP;
    COMMIT;
    l_stepid := 20;
    IF l_cnt = 0 THEN
    apex_application.g_print_success_message := apex_application.g_print_success_message || ' Please select a file to upload ' ;
    ELSE
    apex_application.g_print_success_message := apex_application.g_print_success_message || 'File uploaded and processed ' || l_cnt || ' record(s) successfully.';
    END IF;
    l_stepid := 30;
    EXCEPTION WHEN OTHERS THEN
    ROLLBACK;
    apex_application.g_print_success_message := apex_application.g_print_success_message || 'Failed to upload the file. '||REGEXP_REPLACE(SQLERRM,'[('')(<)(>)(,)(;)(:)(")('')]{1,}', '') ;
    END;
    Below is the function which I am using to convert hex to decimal
    create or replace function hex_to_decimal( p_hex_str in varchar2 ) return number
    is
    v_dec number;
    v_hex varchar2(16) := '0123456789ABCDEF';
    begin
    v_dec := 0;
    for indx in 1 .. length(p_hex_str)
    loop
    v_dec := v_dec * 16 + instr(v_hex,upper(substr(p_hex_str,indx,1)))-1;
    end loop;
    return v_dec;
    end hex_to_decimal;
    thanks,
    Orton

  • How to get a form to appear on the same page when a button is clicked?

    Hi,
    I have a report on a page with a create button. When a user clicks the create button, a form should appear on another region in the same page....how do i go about doing this?
    I know how to do this if the form is on a different page, but i'd like the form to appear on the same page as the report and only when the button is clicked.
    Thanks.

    Hi,
    I did the following, but it didnt work....
    1) Created a hidden item on the page, and in the Default Value field, I set the value to N.
    2) Created a button in the report with the following values under "Optional URL Redirect":
    Target is a: Page in this application
    Page: 4
    Set these items: P1_SHOW_FORM
    With these values: Y
    3) Created a form of HTML text type with the following values under "Conditional Display":
    Condition Type: Request=Expression 1
    Expression 1: P1_SHOW_FORM='Y'
    What have I done wrong or have i missed something?
    Thanks.

  • Cant sync music from iphone 5... When sync button is clicked starting sync appears and dissapears and nothing happens i cannot find a solution for this... Someone help me please

    I Cant sync please help me... Im using iphone 5 ios 7.1... when sync button is clicked starting sync comes and nothing happens and no music on my phone... Im trying to sync my playlist in itunes... I have itunes 11.1.3.8 64-bit Windows 8

    My apologies...the version is 11.1.4.62 not as stated aboive in my problem description.  I'm trying again and it just finished syncing fine and my iPhone 5 is still connected to iTuns physcially with USB lightening cable and is displaying the iPhone icon top right.  I clicked on it and iTunes is now "hung' or  locked up.  Shows to be an active running application but can't get back to it so willl have to kill with task manager.  There is some kind of problem going on with the latest version of iTunes and Wndows 7 and 8.1 or something.  My iPhone 5 now has a new feature that it is now asking me if I "Trust" this computer.  iTunes just came "unhung" after several minutes while I was typing this. Now I am going to start the backup to this computer HP Winsows 8.1 and iTune 11.1.4.62 and see what happens.  Says it is Backing up Jerrys iPhone but the Barber Pole progress bar is not turning an iTunes is hung again and I cant get back to it from this page I am typing on.  Maybe it will eventually release as it did a moment ago. 

  • Copy and Paste when a Button is clicked

    In the current form that I am creating, I have a dropdown which automatically populates a text field depending on which option the user clicks in the dropdown called "Client Requirement/Suggestion" . After this first instance, I will have a button that when clicked, the same dropdown and text field from the first instance will appear again without overriding or deleting what was selected in the first and the user will be able to select something else. Any help would be greatly appreciated. Thanks in advance.

    Friends I want to open any of the four forms randomly when a button is clicked. buttonA, FormA, FormB, FormC, FormD. Teach me please.
    Use the example here to create a random number from 0 to 3.  
    https://msdn.microsoft.com/en-us/library/2dx6wyd4(v=vs.110).aspx
    Then use an example from here to use that number to control the form that opens.
    https://msdn.microsoft.com/en-us/library/cy37t14y.aspx

  • Is there a possibility to clear ONLY the COMPLETED downloads when a button is clicked in firefox?

    is there any way (natively, or by using an extension) to clear ONLY the COMPLETED downloads when a button is clicked in firefox. it should not clear the paused, failed or cancelled downloads. - similar to the functionality in INTERNET DOWNLOAD MANAGER software by TONEC. i have searched lots but could not find such a function. :(

    Along the lines of cor-el's last post, if you want to delete most of the downloads, you can select the entire list using Ctrl+a then Ctrl+click the ones you want to exclude from the selection.
    In some cases, Firefox supports "places queries" to drill down on specific kinds of history. However, I didn't see one for downloads documented in the MDN article, so I'm not sure whether there is a way to query just for successfully completed downloads.
    https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Places_query_URIs

Maybe you are looking for