Order by not working on Interactive Report

I have created an Interactive Report. My select statement contains an ORDER BY. When the report displays it is not in the correct order. How can I control the display order of an Interactive Report?

hi Alfred,
Where can I define the sorting order ? I would like the first call of the report already have a sort.
I know the user can customize the sorting in the report but not at the first call!
I hope it is understandable ;-)i think when the page upload u want to sort the report.
then
in report attributes>column attributes >edit the each column>column definition>remove the tick on sort all >apply changes and give order by i n your query
Regads
pavan

Similar Messages

  • Tabular form validation(Checkbox) is not working for Interactive report

    Hi,
    I am using the oracle apex 4.0 and oracle 11g.
    I have written a below select query on interactive report as
    select
    apex_item.checkbox(1,RESIDD)||apex_item.hidden(2,RESIDD) row_selector,
    apex_item.text(3,RESNUM) as resnum
    from "PDRRES"
    and written the validation to display the error message( Function returning error text ) as
    DECLARE
    vRow BINARY_INTEGER;
    BEGIN
    -- apex_application.g_print_success_message := NULL;
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    vRow := apex_application.g_f01(i);
    apex_application.g_print_success_message := apex_application.g_f01(i)||'-'|| apex_application.g_f03(vRow) ;
    END LOOP;
    END;
    Output : No data found error message
    As far as it work for sql report with above logic because apex built in row selector
    but it fails in case of interactive report for some reason.
    Please suggest.

    Saroj Nayak wrote:
    Hi,
    I am using the oracle apex 4.0 and oracle 11g.
    I have written a below select query on interactive report as
    select
    apex_item.checkbox(1,RESIDD)||apex_item.hidden(2,RESIDD) row_selector,
    apex_item.text(3,RESNUM) as resnum
    from "PDRRES"
    and written the validation to display the error message( Function returning error text ) as
    DECLARE
    vRow BINARY_INTEGER;
    BEGIN
    -- apex_application.g_print_success_message := NULL;
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    vRow := apex_application.g_f01(i);
    apex_application.g_print_success_message := apex_application.g_f01(i)||'-'|| apex_application.g_f03(vRow) ;
    END LOOP;
    END;
    Output : No data found error message
    As far as it work for sql report with above logic because apex built in row selector
    but it fails in case of interactive report for some reason.
    Please suggest.NO DATA FOUND usually occurs when an i mplicit select does not find anything. It can also occur when referencing a collection element that has not been defined.
    You have 2 collectinons in the code you posted, apex_application.g_f01() and apex_applciation.g_f03. Since you are looping therough the COUNT attribute of g_f01 its reference ("I") is probably okay and the value store in vRow is probably not right. You can check this by using RAISE_APPLICTION_ERROR to see the value something like
    raise_application_error(-20000,'vRow="'||vRo2||'"');Remember that working with checkboxes is tricky. If the box is not checked nothing will be sent. You may need to define a default value when no value is submitted.

  • Multiple event not working in interactive report

    Hi Experts,
    I am developing a interactive report used Set-PFstatus '100' , AT user-command and At line-selection in a single program.
    Here At line-selection is not working but at user-command is working fine.
    After commenting set-PF ststus '100' event at line selection is working.
    Ii want at to use at-user command and at line-selection both to work with set pf-status.
    Please help me out.

    Hi,
    You can use these events together but in case while
    creating your GUI status for your program you have
    to give Function Code 'PICK' with F2 short cut key
    because for at line selectino double click 'PICK' function
    code is trigerred.
    hope it helps,
    Regards
    Mansi

  • Substitution string not working in interactive report

    Hi all,
    I am using a substitution string in the no data found message of the interactive report. But instead of the actual message, &my_message. is displayed when there is no data found. I noticed that this problem is also occuring when a substitution string is used in the column headers of the interactive report. In the non-interactive report it is working as it should. Am I doing something wrong or is it a bug?
    Hope anybody can help me. Also when you have a workaround for my problem.
    Many thanks in advance!
    Jacob
    Message was edited by:
    Jacob_B

    Jacob,
    Thanks for reporting that, it does appear to be a bug. I've logged it and we'll look at including a fix in a future release.
    Thanks,
    Marco

  • LOVs not working in Webi Report for SAP BO 4.1 SP 2 Patch 3

    Hello ,
    I have developed reports and universes in SAP BO 4.0 SP 5 and i have migrated those reports to higher version of BO which is 4.1 SP2 Patch 3.
    My universe is working fine with LOVs but when i run the webi report , the LOVs arent working.
    have anyone facing the same issue. any idea why the LOVs arent working on higher version.?

    Hi Victor,
    The List of values we will assign in universe in order to get filtered data works on universe query panel
    but the same objects when i am using in report(webi report) , the List of values are not working .i.e
    they are not getting displayed in webi report.
    for ex: i have country object having country names as LOVs and state objects having state names as LOVs . Now when i select Country value , the LOVs of state objects should get filtered and shows only states which belongs to country .
    the above logic is not working in webi report , i am only able to select country and when i go for state, the state names do not get filtered.
    please let me know why this is happening in the SP2 patch 3 version and its working fine for SP2  , but the chrome issue gets solved after applying patch 3 and not if we only upgrade to SP2.
    the webi reports are not working in chrome browser if we using SAP B04.1 SP2 and lower version
    but the LOVs are not working in SAP BO 4.1 SP 2 patch 1, 2,3.
    kindly help me with the issue

  • Layout Options - Page Order Does Not Work Correctly

    I have a Photosmart C7280 All-in-One printer.  The Layout Option - Page Order does not work as expected.  The User Guide (page 95) states that the default for a multiple page document is to print first page first.  The manual states that to print last page first requires one to change the Page Order to "Back to Front".  For my Excel, Word, Internet Explorer and PDF pages, I need to leave the Page Order as "Front to Back" if I want the last page to print first.  This makes no sense.  In addition, I can't get my Quicken reports to print last page first no matter what I try.  Does anyone no why the Page Order does not work as expected for Excel, Word, IE and PDF, and does not work at all for Quicken?

    Keisha,
    If you uncheck the "show" option, then the corresponding HTML for that item is not rendered on the page. Thus, when you try to inspect that item via APEX_APPLICATION.G_F02, it simply doesn't exist.
    One trick that I use when I want to have hidden items on the page, but not make them take up any space, is to concatenate them to items that will be visible.
    Using your query as an example, I would re-write it like this:
    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQThus, the second APEX report column will contain the HTML for the hidden items PARTY_ID & PARTY_TYPE_CODE, as well as the value for PARTY_TYPE_CODE. When you submit the page, you should not encounter any issues.
    Thanks,
    - Scott -
    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • Share  calculation  Not working in the report

    Iam surprised not to ge the simple share calculation not working at my report.
    I have a dimension and corresponding values ( measures) .I made a Total at the end of the report. and I want to calcualte share of Total to each corresponding value.
    how to do this, any thougts,...
    I have used calculated memebers for this, But I wan to make the percentage of the total ( which is calculated inside Tool itself)
    Please help....

    Prassad,
    Not totally sure what you are trying to achieve but there a couple of possible solutions:
    1) Total = total of all dimension members. Assuming you only have three dimension members then you should have a fourth member called ALL_DIMS or something similar. In the Share calculation template you need to specify the Total level as the basis for your share calc. This will generate the following result:
                             Revenue  % Share
    - All Members     600         100%
         A                  100           17%
         B                  200           33%
         C                  300           50%2) The total you are referring to is in fact a sub total and is the result of adding together only the results for A + B + C, i.e. you have hundreds of dimension members but you specifically want to see a total for just these three members. To do this create a new custom aggregate call "My Total" and add together the dimension members A + B + C - Custom Aggs are a new feature to Discoverer OLAP (Checkout Mark Rittman's excellent blog article for more information on this feature: http://www.rittmanmead.com/2006/11/13/checking-out-the-new-discoverer-101220-features/)
    Then in the Share calculation wizard set the basis for your index using the last option in the list "Specific Dimension Member" and select your new custom aggregate member.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • POP LOV in classic Report not in a interactive Report

    My oracle version Oracle Express Aplication 11g
    Dear Forum
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2 then Ichoose the months but nothing happen.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.
    Danny Lima
    Ecuador
    PD: I'm not speak english very well

    >
    Please update your forum profile with a real handle instead of "897381".
    Also the subject of this thread—POP LOV in classic Report not in a interactive Report—doesn't appear to be relevant the question asked. There's no mention of a Pop-up LOV here?
    My oracle version Oracle Express Aplication 11gAlways state full version numbers, and include
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    as well.
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2then Ichoose the months but nothing happen.Always post code wrapped in <tt>\...\</tt> tags. And always post the actual code or a realistic reduced test case: that query is not valid SQL.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.Nothing to do with the report type. It's because all APEX items are actually VARCHAR2s. For proper comparison semantics with NUMBERs or DATEs in SQL explicit conversion is required:
    select id, name
    from foo
    where bar between to_date(:date_picker_1, 'DD/MM/YYYY') and to_date(:date_picker_1, 'DD/MM/YYYY')Where 'DD/MM/YYYY' is the format mask used in the datepicker items.

  • Trying to get a refund on an app that do not work, but the report a problem button is grey out

    Hi
    I'm trying to get a refund on an app that do not work, but the report a problem button is gray out & Apple wants £20.00 for support
    where do I go from here
    Thanks

    To report a problem less than 90 days:
    http://reportaproblem.apple.com
    Sign in with the AppleID and Password used for the purchase.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    To report a problem greater than 90 days:
    http://www.apple.com/support/itunes/store

  • Regular Expression functions not supported in Interactive report filters ??

    I'm using APEX 4.0.2 and I'm trying to create a row filter in an interactive report which uses regexp_instr and regexp_replace functions and I'm getting the message:
    Invalid filter expression. regexp_instr
    The code runs fine in SQL Workshop
    select cytogenetics from z_patient
    where regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
    CYTOGENETICS
    "46,XX [20]"
    "46,XY[20]"
    "46,XX"
    "46,XY[20]"
    "46,XY[30]"
    "46,XY[26]"
    "46,XY [33]"
    "46,XX[32]
    etc...
    my filter is just the where clause above i.e.
    regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
    *Are regular expression functions just not supported in interactive report filters?*
    thanks in advance
    Paul P

    Hi Paul,
    regular expression functions are supported in interactive report filters, but it looks like that REGEXP_INSTR hasn't been added as valid command. Only REGEXP_SUBSTR and REGEXP_REPLACE are valid commands for computation expressions and REGEXP_SUBSTR, REGEXP_REPLACE and REGEXP_LIKE for row level filters.
    I have filed bug# 12926266 to fix this issue. Sorry for the inconvenience.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Security option is not working for PDF Report

    security option is not working for PDF Report , e.g password , bug??

    what version of SQL Developer are you using?

  • Changed column order not applied to interactive report

    Hi,
    I've changed column order for interactive report.
    But it is not applied.
    How can I solve this issue?
    Thanks,
    Guy

    Hi Guy
    It depends on where you have changed the column order. If you change the column order using the 'Select Columns' function when you click on the 'Wheel of Magic', then it should work.
    If you are changing the column order from the Interactive Reports Attributes page then this will only affect the column order for non displayed items and the single row view.
    I hope that helps
    Shunt

  • The PDF to Excel converter does not work on the reports I need to convert so I need to cancel my order

    I just purchased Export PDF but when I tried it I got a message that it doesn't work on the PDF I need to convert. I need to cancel my order and not be charged.

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help

  • Apex filter is not working in interactive linked reports

    hi all,
    i created a interactive reports using linked columns.everything looks good
    but when i select particular record using one of searching attributes and navigate to other interactive reports using hyperlink it's working.
    when i click back button it's coming to previous screen but no filter (instead of showing one record it's showing every thing)
    i like to see only selected record,how can i resolve this issue
    could you please help me
    thanks in advance

    The back button will take you back and show you the page as it was when you left it. If you want it to be filtered, then have a link from your second page back the links the value of the column to the first page. To refer to a filtercolumn in an IR you name it such that CUSTNO in the report is refered to as item IR_CUSTNO. That is how you push a filer to an IR.

  • Highligh current row not working for classic report in 4.1

    Hello experts,
    One of our customers is migrating applications from APEX 3.0 to 4.1.
    All their applications use classic reports because interactive reports didn't exist in 3.0.
    The end users of the applications like the row color changing when they hover there mouse over the rows (highlight current row) and they insist on keeping this "functionality" in the applications.
    For some reason, this "functionality" doesn't work anymore after the migration to APEX 4.1.
    I thought it was something theme related so I created a new application with a classic report, tried some APEX built-in themes, and with none of them, I manage to get the highlight current row working.
    For interactive reports it is not an issue.
    Is this an undocumented no-longer-available feature of APEX 4.x or has there changed something which caused this functionality to stop working??
    Regards,
    Bart

    Hi,
    I created a service request for this issue, and the support analyst that helped me confirmed that this is a bug:
    "I have created the bug :
    Bug 13584762 - ROW HIGHLIGHTING NO MORE WORKS IN CLASSIC REPORT IN APEX 4.1
    While working on the problem , I have found the following solution in order to make the Row HighLightng work in APEX 4.1
    In the apex_4_1.min.js (file located in images\javascript ) , Search for :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("hover",function(b)
    and replace "hover" by "mouseover mouseout" :
    After the modification :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("mouseover mouseout",function(b)
    A refresh in the browser may be necessary in order to "reload" the file apex_4_1.min.js"
    I implemented the suggested workaround and this solved the problem!
    HTH,
    Matthias Hoys

Maybe you are looking for

  • What's wrong with this AppleScript?

    tell application "Pages"   select tables of body text of front document           set table properties to {width:20.5} end tell I want to select all tables in the Pages document and set the column width to 20.5 cm... But I'm getting an error... Can't

  • Missing images - "XML structure element, not in layout"

    I'm putting together handouts for several classes, which largely consists of copying and pasting text from Microsoft Word into InDesign CS5. Images I am placing manually. After re-organizing some of my files, one of my documents is now missing 118 li

  • Disabling a tab in a dialog dynamically

    I have a dialog with three tabs. There is a selection dropdown on first tab. Based on what selection I make here, one of the second or third tab should be greyed out. So that the user only has one tab left to edit out of second or third one. Has some

  • 3 double and time questions

    I have 3 questions regarding the double type an time 1. What is the maximum number of decimal places a double value can hold? 2. I have a time string as follows 01:30:21:19F30 which means 1hr 30 mins 21 seconds and 19/30 seconds. I wish to convert th

  • Adobe Premiere Pro Keyframes.

    Hi, I've been having some problems with animating photos in Adobe Premiere Pro CS4. I want to slide an image in from the right so I set the horizontal position value for the first so the photo starts out of the frame (roughly 2500) For the first keyf