APEX of a function report

Hello everyone, I have a function that returns a select cursor with a statement.
I want to use it in a report, but it does not work.
is the indicated error: ORA-00932: inconsistent data types: expected NUMBER obtained CURSER

IM calling the function in this way: SELECT * FROM (select ASSESSMENT.) Double Test01);


Can you help me please.
Thank you.

Hello

Following the post of Salvatore, I made a blog on generic mapping using Pipelined functions earlier, that might be useful (to illustrate the principles).

http://Jes.blogs.shellprompt.NET/2006/05/25/generic-charting-in-application-express/

Hope this helps,

John.
--------------------------------------------
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

Tags: Database

Similar Questions

  • Apex #4.2 interactive report details

    Hi all

    In our application, we had implemented using interactive report, the following clarifications required.

    Version of the apex # 4.2

    THAT IS TO SAY #10

    Theme # Light Blue 100

    Q1. By default under the action button see us option "Download".

    -Can rename us export.

    -can we get outside Actions, i., e download option download can only visible when they choose the Actions button but the user is after button create as shown below.

    Q2. For each heading they can filter data using the order ascending or descending, as shown below

    -Suppose that I had selected in ascending order, but if I want to deselect the option there is no option to do what ever they have selected it will show, how can deselect us this option.

    -Now we are given as "Asia/Europe/region" we show of table d/b, but asks the end user to have the option as 'All' when they select it should show all regions in time?

    Q3. In our application, we have a button as "De-Active" when they click on this button we put active_flag as "N" as shown below, these data in the reports should be visible in color "red" to distinguish between them, at the bottom of the screen shot if we look at we see active_flag "N" this line full interactive report must be included in the color red?

    Q4. Created the form using 'Form on a table with the report' in this case when the button is clicked Create he will refer to the form, and if we do not select the required fields and click on ' submit 'see us error message like', we can remove "1 error has occurred" and see the def only messages.»

    Q5. In our application we use an image for the replica as shown below, but the user has asked to replace it with something of a Clone of the image, where we can get this image to replace this particular image.

    Q6. In our application, we use a 'level' tab and to display messages of success that we are showing to the left, as requested by the user can be messages on the screen as shown in the screen two as on the green color to display messages there.

    Screen 2:


    Kind regards

    Sruthitamiri

    Hi all

    Thank you very much to all those who had provided solutions for my request above, now I have some other clarifications that I will raise individual threads.

    Question #3: User functionality of highlight of interactive report. Citation: Re: change the color of line in an interactive report based on a column-> correct answer value

    Question #5: On Google image search. Download it! Publish the shared components and change the reference to the link column. Here is a picture of the :-> useful sample

    Question 1, you can add a link to the region to perform the action download...: http://www.apexninjas.com/blog/2012/05/create-a-custom-download-link-for-an-interactive-report/ -> correct answer

    Question #4: See the following thread: remove the number of Validation errors-> correct answer

    Kind regards

    Sruthitamiri

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    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="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • Apex 3.2 interactive report in a pop-up dialog box JQuery...

    Has anyone reported of IR in a space of dialogue JQuery Apex 3.2?

    Seems crazy because the pop-up is really a < div > pushed into the DOM...

    I can get a report is going to happen, but when you try to search, by clicking on the 'Go' button gets a gReport is undefined error...

    Here's the function I use to open the page:

    < script type = "text/javascript" >
    function openLocator (pPage, pTitle, pType)
    {
    var $dialog = $("< div >< / div')
    . Load ('f? p = & APP_ID.: ' + page +: & SESSION.: No.: P ' + page +' _OBJECT_TYPE: ' + PTapez +' :'))
    . Dialog({)
    autoOpen: false,
    Title: pTitle.
    Width: 500,
    height: 300,.
    modal: true
    });

    $dialog.dialog ('open');
    }
    < /script >

    Changed to this instead:

    var iframesource = '


    "height ="100% "' +"
    "frameborder ="0"' +"
    "name ="popUp"id ="popUp"class ="popUp"" + "
    "allowtransparencty ="true"' +"
    "style =" background-color: transparent; » ' +
    "src =" f? p = & APP_ID.: "+ page +: &: NO::P SESSION." + page + "_OBJECT_TYPE:" + PTapez + ":'" >
    ';

    var $dialog = $(iframesource)
    . Dialog({)
    autoOpen: false,
    Title: pTitle.
    position: 'center ',.
    Width: 796
    height: 500,.
    modal: true
    });

    $dialog.dialog ('open');

    the construction seems to do the job!

  • APEX - engine of research REPORTS

    Request Express 4.0.2.00.07

    I have a report of the apex.
    I need to activate the option to research facilities.
    Where is this option?

    I looked in the tabs of the report listed below.
    Region definition tab.
    Report attributes tab.
    Print the attributes tab.

    Ideas please

    Zac

    How can I check/change a report interactive report?

    For standard SQL reports, there is a region of tasks containing a migrate to the interactive report option in the right sidebar of the region of report definition page.

    This option is not available for reports with a source of body of the function returning PL/SQL the SQL query .

  • Toshiba 55VL963 - TV USB function reports write errors

    Hello

    I have 55vl963 TV with latest firmware 6.9.MD.1

    I'm trying to get lists of channels and other settings using the function of the cloning Hotel.

    However, it seems the TV to USB function often reports write errors (or sometimes ends successfully, but generates corrupted files).

    I tried different media USB, formatted in FAT16 or FAT32.

    Thanks for any help to solve this.

    > I'm trying to get lists of channels and other settings using the function of the cloning Hotel.
    The TV seems to support two USB 2.0 ports.
    Have you checked this Clone Mode using different USB ports?

    However, I guess that data write the problem could be related to the used USB flash memory key.
    Even if you have tested some different USB media, I guess that there are no other possibilities as to test another stick of memory.

  • Apex 5 - save the report by default IR number

    Hello

    I face a problem with Apex 5.0 because all end-users can now edit and save the main report by default.

    In version 4.x, the rule was different: only developers can change primary report.

    Is there a way to put this rule in Apex 5.0 running?

    2015-09-09_12-01-52.png

    Thank you

    Sergio

    Hi Sergio,

    If you start an application with the manufacturer APEX you always act as developer, independent on the credentials of the account you are actually using to connect to your application. The reason being that you can also use LDAP or SSO for authentication. In this case APEX don't even know that you are a developer or an end user, because there is no associated user accounts APEX tables. That's why it all started from the generator must be a developer.

    Concerning

    Patrick

  • APEX 5.0 Interactive report (nopadding, how to set the line height)?

    APEX 5.0.

    Theme: 26. Productivity applications

    Interactive report region

    Where and how can I global set Dimensions height of the line and policies, etc., lines in interactive report?
    I use standard interactive report.

    Thank you

    user555867 wrote:

    Please help me in detail.

    The best way to get detailed help is to create an example on apex.oracle.com and share credentials of developer comments in the workspace here.

    I have:

    1 created a (= external CSS style sheet) file with the name 'ir_css_padding.css' local on PC (C:\tmp).

    2 added "Shared components"-> 'Static Application files'-> 'Download the file statistics Appl.': 'c:\tmp\ir_css_padding.css '.

    3. under "attributes of User Interface:

    (General properties)

    The value 'Statistics file prefix': ' #APP_IMAGES #ir_css_padding.css.

    'Media Type' value: text/css

    Why have you changed these settings? They are not relevant to the addition of static CSS files in the repository database. Read the help on line for these properties:

    Static file prefix

    Determines the virtual path of the Web server uses to point to static files when you use the #APP_IMAGES substitution string #.

    Do not specify what to do refers to files that are stored with your application definition in the database.

    For performance reasons, you can also store your application files on your Web server. Use a valid URL to refer to them.

    Media type

    Enter the Internet media type. An Internet media type is identifier into two parts for the formats of files on the Internet. A media type is composed of at least two parts: a type and a subtype and one or more optional parameters. This type of media used in the HTTP Content-Type header when the page is rendered.

    If both the values of page-level and the level of the application for the media Type are NULL, text/html is used.

    Two of these parameters must be null in your current environment.

    (The User Interface definition)

    "CSS File URL' value: 'text/css/ir_css_padding.css '.

    This parameter must use the static text of APP_IMAGES substitution string:

    &APP_IMAGES.ir_css_padding.css

    After that, I can't jerome in application. (See the only CSS text in the browser)

    --> WHAT IS THE PROBLEM?

    APEX is serving pages using the type of text/css media according to the incorrect media Type parameter described above. Remove and the app will return to normal.

    4. WHERE and HOW VALUE / reference the CSS file?

    I need this change for all interactive reports in my application, self think I can change my model that I use: 'interactive report Region '.

    Interactive report region isn't just a region container designed for use with interactive reports. It does not control the appearance of the interactive reports somehow. Not there at - it a report model for interactive reports. Their appearance can be changed using CSS.

  • APEX 5: Can access reports interactive db session context?

    I need set the db with DBMS_SESSION session context. SET_IDENTIFIER and then use SYS_CONTEXT ('USERENV', 'CLIENT_IDENTIFIER') where the terms of views used by the application. There is no problem when rendering normal pages: implement process before header makes it available to all queries for the page is rendered, but interactive reports are not part of this process. Is it possible to always set the context to refresh an IR, any point of process or dynamic action etc. ? So far, it seems impossible...

    Hello

    use the "initialization of PL/SQL Code' attribute (shared components-> Security-> Session of database attributes) to put something in your session database that is used to process your request APEX.

    Concerning

    Patrick

  • Several apex 3.2 export reports

    Apex 3.2 - so no plugins can be used.

    I have a page with 12 standard reports.

    Is there anyway, I can create a process that on click of a button, all reports will be exported to Excel, with a different worksheet for each report.

    If this is not possible, are there other possibilities

    Gus

    Gus C wrote:

    Apex 3.2 - so no plugins can be used.

    I have a page with 12 standard reports.

    Is there anyway, I can create a process that on click of a button, all reports will be exported to Excel, with a different worksheet for each report.

    If this is not possible, are there other possibilities

    There is no built-in way or simple APEX only for this. Should be possible using the BI Publisher integration if it is available (I have no experience with it).

    Do it from scratch will result in a process that read the SQL for each report in the opinion of the APEX, by running and generates a spreadsheet that contains the worksheets in a LOB by using something like Tom Kyte OWA_SYLK or XML (depending on the version of Excel target and requiring a working knowledge of Excel formats) then download the LOB. Definitely not negligible.

    Plug-ins is not possible in point 3.2, but most of the heavy lifting in this would be done by database PL/SQL or Java packages, so you should probably look for them...

  • APEX 4.2 classic report when more data found message

    Hello

    Has anyone used report classic message "Times more data found" APEX 4.2?

    I did not get this message illustrated using any report model or any report parameter.

    Need to add a few report template substitution strings?

    It would be great if someone could share example how this message should be used.

    Kind regards
    Jari

    Hi kvlek,

    Thank you

    Could you please share steps how you did it in apex.oracle.com?

    Kind regards
    Jari

  • Dynamic action of APEX 4 relaxation of report

    I have an application that queries and displays a report and has a column of link to a custom url.  I don't want to trigger dynamic action to open the url customized loading Page.  I can't find another way to trigger the url.  In my report of Apex successfully it seems unable to find a DOM object or jquery Selector that will trigger my dynamic action. I have all of the elements that I can return.

    Event: click on

    Selection type: I tried jQuery Selector and DOM object, but unable to find the exact entrance to enter the field

    Condition: No conditions... maybe if I knew what condition to enter in it can help you.

    Action: Run the JavaScript Code

    Fires when the result of the event is true

    Code: javascript:popUp2 ($v ('P1_URL'), 900, 900);

    Oh, it seems simple enough, but it does not, unless I click on the button to fire on the loading Page.

    I tried to assign the Click event and the Type of area selection, however, it will trigger the dynamic Action whenever I click anywhere in the region, not only when I click on a specific line.

    Thank you.

    These links can help you (if you mean by APEX 4 APEX 4.2):

    Perform the dynamic Action of the link column report

    Take multiple values report dynamic Action

    http://Apex.Oracle.com/pls/Apex/f?p=9487:85:0

  • Image is not displayed in the shape of the APEX with utility function APEX

    Dear experts, APEX,

    As I am new to oracle apex development. I just created the basic employee information form where I download the picture of the employee. Photography is transferred, but it does not display correctly. I already spoke of the sample database application to display the image. Also, I followed the same steps it is used to display the image of the product for this application. I am still unable to get the result. I receive after release:


    < img src = "" apex_util.get_blob_file? a = 35682 & s = 101496289174102 & p = 15 & d = 10639237623242912156 & i = 10639236703270912154 & p_pk1 = 21 & p_pk2 = & p_ck = FCA12832591A1C706D76FDD589E551A2 "/ >"

    Please help me elders to solve this problem. How to view the image using this utility.

    mehpandya wrote:

    I saw more HTML code after inspecting the two applications.

    1 example of application of database:

    In this application, the product image is downloaded and displayed correctly, and the following code is rendered in the HTML source code.

    2 example of Application HRMS - which I created for learning.

    In this application, the photo of the employee is transferred, but it is not displayed correctly. Here's how to code is rendered in the HTML code.

    ""< img src = "apex_util.get_blob_file? a = 35682 & s = 100541516379272 & p = 15 & d = 10639237623242912156 & i = 10639236703270912154 & p_pk1 = 21 & p_pk2 = & p_ck = 31A8328E0F5754D7CBD0FC0C6313B38A" "/ >"

    That is why, in my application code is not perfectly rendered and syntax is not over.

    the following characters are rendered like this. : & lt, & quot, & gt, & amp.

    So, is this the reason for not displaying the image?

    Yes.

    To get a displayed item to render in HTML, in the definition section Security value escape special characters notitem.

    For a column of the report, ensure that the column attribute text to display as report is report Standard column rather than the default display text (escape special characters).

    Use a part of the Image display and declarative BLOB support instead of this manual method clumsy.

    -----

    Please read the FAQ and the forum threads sticky (if you haven't already done so.

    You will get a faster, more effective response to your questions including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/item (s)

    The APEX documentation is here.

  • APEX 4.0 Public reports

    APEX 4.0, if a certain interactive report is configured for the registration of public reports, can this capability be disabled for some users? In other words, some users may be allowed to create public reports and others do not have this capacity.

    Thank you

    AJ

    Under report attributes / search bar, you have a 'Save Public report authorization' selection list where you can select a group authorized to record public reports. If nothing is selected, all users will be able to create the report public if this feature is enabled.

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

  • Time of the APEX to load a report

    Is it the way to get the time that APEX has to load and display a report?

    Concerning
    Sebastian

    Use the debug mode, or the substitution string#TIMING # substitution string in the foot of the region.

Maybe you are looking for

  • Language on macOS Sierra switch problem

    I just upgraded to macOS Sierra and I have a problem with switching languages. I have both English and Russian, but I just need to do the Cmd + space to more than an hour to change language and when I do, I can get the American icon in the status bar

  • How can I transfer pictures on my Macbook Pro to a Flash drive

    I transferred my photos iPhone 5 c to my macbook Pro, but now I'm trying to transfer to my flash drive. I tried to find a way to transfer, but I can't find how. Please I need to find a way to transfer my phone is completely full on storage and I want

  • Photosmart eStn C510 series is not a driver error

    Sometimes my wireless printer works fine, but other times it is 'offline' when I try to print and when I troubleshoot I get error: eStn Photosmart C510 series is not a driver.  I reinstalled the driver from the CD and I also downloaded the driver fro

  • Visual c + runtimeerror

    Brou - Er and debt offentligt forum, post private information såsom E-mail telefonnumre eller aldrig sa! Ideer:http://www.komogvind.dk/spil/pokersquare/ Programmer, the har med issues Fejlmeddelelser From Oktober har Lee din computer aendringer Hvad

  • Office shortcuts that open web sites no longer work after the update

    After the last MS update for office my desktop shortcut icons that go to Web sites do not work... they open MS FrontPage? The shortcuts that installed programs work very well... only those who are open to something on the internet are affected and op