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
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • It is possible to sort an interactive report with a default column?

    Hello

    I have a great request accompanied by an interactive report.
    select "ID", 
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE" 
    order by DATE_FIN desc
    Unfortunately, the interactive report not display using the order in the SLQ query.
    I tried to select the 'out' of each of the other columns in the attributes column Section, but without any improvement. If I remove the declaration of the order in the SQL query, nothing changes in the order.

    You have an idea on how to display the rows in the order of the sql query?

    Thank you for your knid answers!

    Geraldine

    Christian,

    This can be a little tricky at first. Try this:
    1 remove the order by clause of the query.
    2. close the application, not the generator, just the application.
    3 reconnect and try to use the interactive report options to sort the information.

    It work? If so:

    4. get the order of the way you want as the default. Note: you get more sort options if you use the Action Menu (milling wheel) and a sort by selecting more simply by clicking on the column headers.
    5. save the report by selecting the save the report option in the Action Menu. If you see a drop down, save the report 'by default'.
    6. close the app again and come back.

    It work?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • Order by does not not on the interactive report

    I've created an interactive report. My select statement contains an ORDER BY clause. When the report is displayed, it is not in the correct order. How can I control the display order of an interactive report?

    An interactive report allows to sort on all columns. Plan to remove the Order By clause of your SQL defining the sort order in the report of the IR, then save this version of the report as the default report parameters

    Jeff

  • "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

  • The interactive report want to remove filter to sort

    Hai,

    IM using interactive report, because we used the option to sort and filter, but wat happens is, to sort itself there is a concept more filter that is time that our customer does not want to consume, how can we remove this filter that is inside the so.

    David

    Hi David,

    Put the following text in the header HTML Setup page of instead:

    <style type="text/css">
    #apexir_rollover #apexir_search {display:none!important}
    </style>
    

    This will remove the search box on all lists drop-down column but not the main search box. There seems not to be a way to css to hide the individual search fields, as the feature uses the same DIV object for all columns.

    Andy

  • sorting and interactive report

    Is it possible to have an interactive report but hide some columns in the action area. If users take to sort?

    Ex: created an interactive reports from the tables. There are columns with large text tabled. I would like users to sort on them for fear of perfomance hit. However, must these fields show on the report. Is it possible? All suggestions will be grateful.

    When you change a column in an interactive report

    Click on the interactive report
    Click on the column name

    In the column definition area, you can pick stocks, you allow the user to make on this column
    Allow users to:
    Charter of calculating overall sorting filter control Break

  • Footer text region appearing to the right of the BAR INTERACTIVE REPORT SEARCH page

    We are the migration of Express 4.2.1 application at Apex 5.0.2


    We use the 22 Bluejay theme.

    In my interactive reports, I the text entered in the regions 'Header and footer' > footer text, including 4 Apex, rendering at the foot of the report.

    The Apex 5, the same text renders in a new column to the right of the search bar of interactive report.

    Is it a question of model, or a builder bug?

    I can't find where in the model I can adjust the positioning of the text 'Footer region'

    Gus...

    I worked on it a little more.

    just to say that I use the Chrome browser.

    I worked as designer of the Page view and impossible to find using the attribute "footer text".

    I went to the view of the component and found help.

    It is said...

    Enter a footer area to display directly after the body content (that is, after #BODY# in the model of the region) or instead of #REGION_FOOTER #, where this substitution string is defined in the model.

    So I added #REGION_FOOTER # div AFTER the body...

    #BODY #.
    #REGION_FOOTER #.

    Hurrah!  the footer is now in the right place...

    Also, I noticed that if I placed an HTML element
    in the text, footer text would be in the correct position without having to change the model.

    Gus...

  • 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

  • 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.

  • 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

  • Sort the results of interactive report in no data found message

    Hello

    I have an interactive report that returns results based on the: bind variable QUERY - I have a list of navigation on the side where all the elements to link to the current page with different values of request. The IR works fine until I try to sort the columns by clicking on the heading and selecting increasing / decreasing, how it returns no data available.

    It starts to work again if I change the last line of GOLD: REQUEST IS NOT NULL but this breaks the functionality of the report, I would like to return only selected articles or all if no query variable is present. I'm guessing that sort sets: ASK something temporarily and divides. My query is below, any ideas?
    SELECT   id,
             job_number,
             appt_start,
             domain,
             pwa,
             status,
             tstamp_created 
      FROM   fail_jobs 
      WHERE  (status = 'NEW' AND userid_created != 'SYSTEM' AND :REQUEST = 'ARD') 
         OR  (status = 'ATR' AND :REQUEST = 'ATR')
         OR  (status IN ('ERR','REV') AND :REQUEST = 'REV')
         OR  (status = 'COM' AND :REQUEST = 'COM')
         OR  (status IN ('PCD','PCA') AND :REQUEST = 'PCD')
         OR  :REQUEST IS NULL
    Thank you

    There are problems with interactive reports referencing known: DEMAND value, probably due to an internal logic that manages also simultaneously - potentially cause a malfunction or blockages.

    A workaround that I learned is to create a calculation to assign: APPLICATION to a temporary element (a PXX_REQUEST, for example) and reference it in the query, instead of: ASK. This has worked well for me in my experience.

    I would like to know if this helps - pls sign the thread as 'Useful' or 'Correct' if so, so more people can benefit.

    TKS,
    Kléber

  • Interactive report Question (sort of)

    This has probably been concave, but I have not found how to ask the question to find the answer, so I apologize in advance.

    Running APEX 4.2.3 I need do the following:

    I need to be able to send an email to all registrants in a filtered interactive report, with one of the interactive report fields e-mail address.  So I imagine something like this:

    1 run an interactive report and it returns 1000 rows.

    2. I filter the report so that the subset resulting contains 30 rows.

    3. I click on a button that says Compose Message

    4. a box perhaps (a modal window?) to allow the body of the message type.

    5. click a button to send a Message

    6 to run a PL/SQL procedure cycles to each line of the EIS filtered to get the email address.  (This IS THE PART that I KNOW not HOW to DO it)

    7. use the same PL/SQL procedure from step 6 to send the e-mail message.

    I understand how do anything but striking since the interactive report filtered e-mail addresses.

    Any help would be greatly appreciated.

    Bob

    Now look at the process... You need build the e-mail process, but the query NOW respect filtering done on the report.  I added a function to your workspace that you want to download where you want to develop this...

    This function determines the ACTIVE query for the report, binds with the values bind variables and returns the query, where I add a selection to the e-mail address to select it and build an array of values to loop through...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • return the text in the interactive report

    Hello

    I have a column in a table called comment. It is VARCHAR type and length is about 200. When displaying it in an interactive report, it is displayed on a single line. I want it display on multiple lines.

    How can I do?

    I am able to do this in the normal report by adding < span style = "display: block;" Width: 200px; white-space: normal "> #COLUMN_NAME # </span > expression HTML formatting of column."

    But there is no option like that in interactive reports. So, how to make interactive reports?

    Thank you.

    You can try this: word wrap questions about Apex

    Martin
    -----
    [http://apex-smb.blogspot.com/]
    [http://apex.stackexchange.com/]

  • Number max of interactive report of records does not

    I go to interactive report attributes change lines max per page to 500, I can still see 15 on the page once I have recorded it, what am I doing wrong?

    Hello

    Have you logged in as Apex_Public_USER or person? You can save the report only when logged in as a developer (default report parameters) or by using a valid user for the execution of time-saving features.

    I hope this helps.

    Kind regards
    Matt.

  • 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

Maybe you are looking for

  • Updated Firefox &amp; my Kaspersky Security money is gone, how do I get it back?

    My Firefox has just updated to 36.0.1 - my money for security Kaspersky has disappeared from my modules so that now there are a few web sites (including my online banking) I can't b/c, it says there is an "error" in my protected browser, meaning that

  • Need to remove the ConfigFree to install Vista

    My computer PSP AOE. When I run Vista upgrade advice before installing vista it says ConfigFree not compatible and must be uninstalled before the installation of Vista. But when I click on remove what it will not uninstall, instead I get. "InstallShi

  • Administrative authority

    I tried to delete Safari, but a popup advised that I don't have the appropriate administrative authority to remove.  It's my personal computer at home, a HP Pavilion p7 - 1167c, so I'm the only only involved with it, or use it.  How can I take contro

  • The ntoskrn1.exe file is missing or damaged, after reboot update status 0xc0000098___

    title says it all he says I have to install a reboot from installation disc click Next and click on repair computerI can't display just a big black screen saying this connection...It happened after a reboot of the update, this average Windows Update

  • Could not download the NVIDIA graphics driver.

    OT: NVIDIA driver. He said a problem of NVIDIA graphics driver. so I click it and it says press here to fix problem.but he repeats to me could not DOWNLOAD make sure your connected to the internet and try again.but I am connected can help you