Interactive report lines order number

I'm working on an interactive report. The main problem is that the lines in the interactive report do not appear in order.

It's like query: select (list passes) from table order by ID;      ID = 1, 2, 3...

When I run this code in sql commands, the result is displayed in perfect order, but when I use the same code in my interactive reports lines appear no y-intercept. any solution?

Apex version: 4.2

Topic: Productivity Applications

Model: Report IR Region.

Virat Praveen-Oracle wrote:

I'm working on an interactive report. The main problem is that the lines in the interactive report do not appear in order.

It's like query: select (list passes) from table order by ID;      ID = 1, 2, 3...

When I run this code in sql commands, the result is displayed in perfect order, but when I use the same code in my interactive reports lines appear no y-intercept. any solution?

Interactive reports are sorted using the sort IR functionality. This allows you to specify the required sort order and save it as the default report. If you need a fixed sort order that is not editable by users, clear the sort options in the Search bar of IR and the column headers.

Tags: Database

Similar Questions

  • the interactive report column order does not properly

    Hi all

    Can someone help me with this situation:

    Example:

    1)

    First of all, I created an interactive report with this simple query

    Select col_A 1, 2 Col_D of the double

    (2) later, I changed the query like this

    Select col_A 1, 1 col_C, 2 double Col_D

    But when I run the report of the new added column appears in the end?

    I already tried to rearrange the order of the columns in the browser menu, but the question remains.

    Any ideas?

    Thank you

    Hello

    Connection to generator of APEX. Run your page.

    Select the columns in the report menu action and save the default layout.

    Kind regards

    Jari

  • Report lines bug number

    Http://apex.oracle.com/pls/apex/f?p=45163:7:608251615077501 example:

    (1) create a classic report with the simple query 'select empno, ename from emp '.
    (2) set 'Report attributes' > 'Number of lines' = 5.
    (3) run the page. Everything works fine, I have a report with paging "1-5 of 14.
    (4) set 'Report attributes' > 'Number of lines' = 10.
    (5) runt page. I still had only 5 rows in the report instead of 10.

    Only copy and paste report can fix it. This is a bug or there is another action to solve this problem?

    Pagination parameters get set cached for the duration of the session. This change is visible immediately, close the session, restart the brower and connect again or manually re - request the page from the browser's address bar, adding the ClearCache position 'RP' in the URL.

  • Allowing the display of the icon in an interactive report

    Hi all

    I would like to add a screenshot to show what exactly is the nature of the problem, but because I can't, I'll give you as much detail as possible.

    Therefore, any way, to the Apex 4, I activated the "icon view" in the "attributes of interactive report' a 'interactive report. Once I've run the application, I switch the view of the report "Icon view" and then disable the "search bar" (in "interactive report attributes") in the order of restraint from the user to the view "icon. Everything works great, I got the application to load the icons and display them with a cute text... but then, even if the report is displayed as a horizontal 'list', I still stock with some of the borders in view of the report, + when I scroll my mouse on one of the icons, it to highlight all the icons of the line as it will do for an interactive report line. So what I would do, is to completely hide the border of reports and to disable mouseover option.

    I tried to solve these two ' detail using the customizing options offered by Apex, but I couldn't find anything. I'm open to suggestions...

    THX

    Stone

    Published by: user3155246 on September 15. 2011 12:16

    user3155246 wrote:

    I would like to add a screenshot to show what exactly is the nature of the problem, but because I can't, I'll give you as much detail as possible.

    You can do something even better: reproduce the problem exactly on apex.oracle.com to share with the community of visu...

    (And please update your forum profile with a real handle instead of "user3155246").

  • Apex 4.0 how use the interactive report filter feature?

    Hi all
    Sorry for the nub question, but if there is a way to create and save 'report' with the filter condition using a function?
    What I want to do is to create an interactive table called TASK report.
    Table has two columns I want to use for filtering:
    FDate - DATE - date
    TDate - DATE - to date
    Then, I need to create multiple saved reports:
    last week the tasks = where FDate between sysdate - 7 AND sysdate...
    last month tasks = where FDate between ADD_MONTH(sysdate,-1) AND sysdate...
    but,
    Interactive report filter does not accept sysdate or calls to functions ADD_MONTH.
    Is there an easy way to configure this feature?
    TIA
    Thomas

    Sorry for the double post...

    Published by: thomaso on August 6, 2010 12:04

    Hi Thomas,

    Take a look at the type of filter 'Row' in the interactive reports filter dialog box. This allows more dynamic filters, such as those involving SYSDATE or ADD_MONTHS calls. See also the next thread for some more details on this:

    Re: Interactive report - line conditional highlighting date function

    It will be useful.

    Anthony.

  • What is the best way to view an interactive report with 20 columns

    Hello

    I have an interactive report, given the number of columns (about 20).
    What is the best way to view this report... by default to scroll horizontally to see all the columns.
    I want to avoid horizontal scrolling.

    Thank you
    Deepak

    Hello Deepak,

    You mean apart using a smaller font size or a larger screen?
    You can think to combine / wrapping columns (so more data in a column).
    Or hide some less important data and show only on request.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Number of lines displayed per page in an interactive report

    Hello

    I would like to know if it is possible to change the values of the selection list called "Rows" in an interactive report (which is displayed in the search bar).
    Indeed, I want to display 16 lines per page, and I can only choose from the values 1, 5, 10, 15, 20, 25, 30, 50, 100, 200...
    Thank you for your response.

    Emilie.

    Hi Emily,.

    Go to: Home > Application Builder > application 301 > Page 51 > report interactive attributes > Search Bar > lines per Page selector

    Remove the check mark and the line selector disappears.

    Greetings,

    Tobias

  • Serial number after the interactive report filtering

    Hello

    I have an interactive report. In the report, I have column named serial number which is generated using "row_number over (order by id). When I filter certain data of the serial number is the line number sequence, but I want to put the sequence based on number after filtering like when name rownum-100-samia, after the filter by samia serial number must be 1. Is this possible? I'm sorry if I can not write properly!

    Hello Samia

    Have you seen the next thread? Maybe it can help you work.

    Indicates the number of Clotilde in an interactive report

  • "Invalid number" error help search interactive report on collection

    Hello - I have several collections-based interactive reports. In directian IR query definition.
    I threw the values in the collection according to the needs (number, date, etc.). Everything has been working very well.
    In development and production, I can use the interactive reports search feature
    and he finds the lines containing the text I type in (as well as everything else works fine...)

    Only, I imported a new version of an application in our production database. Now, when I use the
    search for interactive report, I always get "invalid number." This occurs even on interactive reports
    It still work in the previous version of the application of production... and these IRS
    have not changed at all.

    If I create a filter and search for "elevation" in a string column, the filter works. If I create a filter
    you are looking for a "rise" in a column for the number, I get "invalid number." (In development
    environment, I can do the latter - it does not just lines.)

    Clearly it stifles the column types in the IR... but why now and not before and why
    in the production database but not the DB development? The two are running 4.0.1.00.03.

    It is a sizable loss of features... and it comes at a really bad time... Help?

    Thank you
    Carol

    Hello

    What a lot of tests!

    Preferences, particularly sorting preferences, can cause problems because they are actually stored on the database and used next time the page is loaded. So, in the meantime, something has changed on the report sorting preferences may no longer work.

    There is a function of Apex that you can use to clear the user's preferences:

    BEGIN
     WWV_FLOW_PREFERENCES.REMOVE_PREFERENCES('username');
    END;
    

    and you can remove any sorting preferences using the:

    BEGIN
     APEX_UTIL.REMOVE_SORT_PREFERENCES ();
    END;
    

    other admin functions and which are described in: http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#CHDHDFHB

    You could provide a button on a homepage (or whatever page the user can always happen to) that triggers the second bit of code - it can not solve the problem, but it would eliminate a possibility.

    Most of the time removing their sorting preferences should not cause issues - most, if not all, remember what was the sort order, they used last.

    There must be a table somewhere that stores these preferences - but I was not able to find it (but, I'm sure someone can tell us right away what it is!) - which would make it easier to empty.

    However, as I understand it, the preferences are stored using one ID region. If the problem persists, I could only suggest that you create a second region, exactly as the first and then delete the first region.

    As to the question of the user/developer session. I've seen this before. I think (and highlight 'think'!) that if you are connected as a developer that also uses the same connection to the application, then your session as part of the application does not stop really until your disconnection from the development environment. I see a disconnect in the application and then go directly to a page within the app (perhaps using the browser history or by changing the URL) will take back you in the session as if nothing had happened. It was a gene! I got around this by having two browsers (for example, FireFox and IE or Chrome) - the update was done in FireFox and I logged directly in the application in the Explorer on the other. You will also find some development easier - there is an option on the pages of the attribute at the top right that says: "return to this page. If you check this option before clicking on apply changes, you return to this page. Refresh the other browser gets your new changes. Then, if there are problems, you are already on the page that needs updating - even easier if you click on one of the selectors of the area as the setting of the problem is brought to the screen.

    Andy

  • Interactive report with alternating lines - 5 APEX

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:

    < script type = "text/javascript" >

    IT IS THE INTERLACING

    function decorateDataGrids (strClass) {}

    var tables = document.getElementsByTagName ("table");

    for (var i = tables.length; i-;)) {

    If (tables.className == strClass) {}
    var gridRows = tables [i] .getElementsByTagName ("tr");
    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }
    < /script >

    < style >
    / * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
    table.apexir_WORKSHEET_DATA tr.even td {}
    background-color: #F1F5FA! important;
    }

    table.apexir_WORKSHEET_DATA td {}
    background-color: #FFFFFF! important;
    border: 1px solid #B3B3A7! important;
    padding: 4px 8px! important;
    }
    < / style >

    And called in my link to my column ID text field via:

    "< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    Thank you

    pleNn

    pleNn wrote:

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:


    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }

    And called in my link to my column ID text field via:

        

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.

    To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.

    To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?

  • Change the color of line in an interactive report in version 4.2 # Apex

    Hi team,

    I have done following things in my interactive report to reflect changes in color, but these changes do not appear. Could you please help where I'm missing.

    Apex Version 4.2 #.

    Theme-100 light blue

    1. to light under the screen if active_flag is "N", then the entire line, I would like to show in a different color.

    2. then create a dynamic action like this

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code

    $('td[headers="Active_Flag"]').each(function() {  
      if ( $(this).text() === 'N' ) {  
        $(this).closest('tr').find('td').css({"background-color":"#FFFF99"});
      } else if ( $(this).text() === 'Y' ) {  
        $(this).closest('tr').find('td').css({"background-color":"#EEA196"});
      } else {  
        $(this).closest('tr').find('td').css({"background-color":"#C6EA91"});
      }  
    });
    

    But it does not reflect anything, you can offer me if I wrong anywhere.

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    I have done following things in my interactive report to reflect changes in color, but these changes do not appear. Could you please help where I'm missing.

    Apex Version 4.2 #.

    Theme-100 light blue

    1. to light under the screen if active_flag is "N", then the entire line, I would like to show in a different color.

    2. then create a dynamic action like this

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code

    1. {$('td[headers="Active_Flag"]').each (function ()}
    2. If ($(this) () .text = ' don't) {}
    3. $(this) .find ('td').css({"background-color":"#FFFF99"});).closest('tr')
    4. } ElseIf ($(this) () .text = 'Y') {}
    5. $(this) .find ('td').css({"background-color":"#EEA196"});).closest('tr')
    6. } else {}
    7. $(this) .find ('td').css({"background-color":"#C6EA91"});).closest('tr')
    8. }
    9. });

    But it does not reflect anything, you can offer me if I wrong anywhere.

    Interactive report region that model is set to Model No.? If so, that means that is missing an ID attribute that is required to bind a dynamic action after refreshing the report. Use a region template that contains id="#REGION_STATIC_ID#" , as the region without buttons or title.

    The number of standard theme for the theme of blue light is 15. Have numbered it 100 would indicate that it has been customized, exported and re-imported. In an application updated through previous versions of APEX, it can actually be an older version of this theme earlier at APEX 4.x, when a number of models in legacy issues, missing this attribute altogether.

  • I can capture the number of records retrieved by page in the Apex Interactive report?

    Hello

    I have a requirement in which I need to conditionally hide / show button on an interactive report.

    To achieve this, I need to compare the number of reows read by v/s lines page number to be

    read as specified by the user (defined using Actions-> lines per page).

    Please help me to know if there is a way to capture these 2 values:

    1. number of records retrieved in a report by page

    2. the value set by the user for the number of rows must be extracted (Actions--> lines per page).

    Quick help is really appreciated. Thank you.

    Hello

    You can use by jariola in his blog

    http://dbswh.webhop.NET/Apex/f?p=blog:read:0:article:41900346848694

    Thank you

    Benjamin

  • In the interactive report, I need the default line like 200... or say 300... How can-

    I don't know if I'm going to the actions and I choose the number of lines... But the options available
    are 10, 50, 100 and 1000...
    I need to show * 200 * or * 400 * lines... How can I do this... in my interactive report...
    All information must be very appreciated...
    Note that we don't have this option in our line of action by page... menu.

    Hello

    Put code next under the section "run when Page Load" (Edit Page)

    /* Rows per page 200*/
    gReport.search('SEARCH',200);
    

    Kind regards
    Hari

  • text of interactive report as number sort

    Hello

    I was wondering if it is possible in an interactive report of the Apex to sort the text number?

    For example, a series of lines of text:

    4
    10
    2

    would sort as:

    10
    2
    4

    If it were text. What I'd like to see is:

    2
    4
    10

    How this could be done?

    Thank you.

    If your column contains only numbers, you can use column_name TO_NUMBER (column_name) to convert it to a numeric value and it will sort it correctly.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How the last report line by order?

    Here is a sample report of 3 commands, each with different actions on different dates. What I want to show are only recent actions for each order (marked in red). I tried to use max (sequence number) and max (date of the Action), but they have no effect since this will only work when all columns (except the sequence or the date of the Action number) for each line are the same.

    http://I84.Photobucket.com/albums/K24/The_Dutchman_2006/OBIEE/Nieuweafbeelding11.jpg

    Any ideas?

    BTW: It's on OBIEE v10

    Thank you!

    Published by: The_Dutchman on June 17, 2011 11:26

    Hi Dutch,

    create three more columns with the following formulas:

    RCOMPTE (order number sequence number)
    COUNT (order number sequence number)
    CASE WHEN RCOMPTE (order number sequence number) = COUNT (order number sequence number) THEN 'Y' ELSE ' don't END

    Filter on all lines with 'Y '.

    Kind regards
    Stijn

    Edit: You may need to create another application on top of this request and put the filter on this request.

    Published by: Stijn Gabriels on June 17, 2011 11:44

Maybe you are looking for