Custom "no row returned" message

hi all,
is there a way to change the "no row returned " message in the report?
I want to translate it in french!
thks for help

You can try to do such thing : create your query like
select a1 f1,a2 f2, ... from table
UNION
select null f1,null f2,... from dual
In this case if you don't have real records you get an empty record, so the mentioned message diappears.

Similar Messages

  • Replacing the "No rows returned" message in Portlets

    Hi all,
    How to remove (or replace) the default message that comes in each Portlet if the query doesnot return anything ? By default the Portlet shows the message "No rows returned" , how to customize it or remove it.
    Ayman

    It's not possible to replace this message, but you can do a such workaround :
    if your portlet (s) are built from SQL query, change it so :
    select a1,a2,a3 from table ...
    UNION
    select null a1,null a2,null a3 from dual
    In this case your query is not empty, so you're able to bide the mentioned message.
    Hope, it helps.
    Izabella.

  • No row returned message

    Hi,
    I have a report that some times doesn't have results.
    When it happens, I get a message "No row returned"...is it possible to change or delete this message?
    many thanks in advance,
    Miguel

    If you have metalink access, here is the note you want to read:
    183131.1. "How to Customize the Message "No Row Returned" from a Report".
    Hope it solves your problem.

  • "No rows returned" message in reports don't change with language

    I need to change this message to another language, where I can do it.
    thanks to help me.

    I am working in the version Portal 3.0.9.8.0. the language that I am using is Spanish, but the messages did not change automaticamente with the change of language. I need to change the message " No row returned " to Spanish.

  • No rows returned in the BIS views

    I am new to Discoverer. I had connected to Financials Intelligence responsibility using discoverer desktop. When I tried to create a workbook in General Ledger Business Area to display the GL accounts, I get no rows returned message. I get the same message for any kind of report I try to create not only in GL business area but also in any of the seeded business areas provided by the Oracle. I can query it in toad and see the data but it is not retrieved in discoverer. what could be the problem? is there any profile options to be setup for my username or am I missing something?
    Any help is greatly appreciated
    Thanks

    Here's the metalink note for those interested.
    It's basically laying out all the steps to setup the info in Oracle Apps as alluded to by Simon and then perform a complete refresh of the BIS views in the database, bring in the new .eex file for changes, etc.
    Russ
    ===========================================================
    Applies to: Oracle Discoverer - Version: 10.1.2.48.18
    This problem can occur on any platform.
    Oracle Applications 11.5.10.2
    Oracle Applications Concurrent Manager SymptomsUnable to retrieve any data on standard General Ledger (GL) business areas and standard workbooks after migrating the EUL from Discoverer 4.1 to 10.1.2 and upgrading Oracle Applications to 11.5.10.2.
    These same workbooks and business areas worked fine before the upgrade to Discoverer 10.1.2.
    A custom business area and custom workbooks return data, but none of the standard pre-seeded "BIS" or "Financials Intelligence General Ledger (GL) business areas return data when testing in Discoverer Plus, Viewer or Desktop.
    ChangesMigrated the Discoverer EUL and Oracle Application Server environment from Discoverer 4.1.48.08 to 10.1.2.48.18. CauseIncomplete setup of Oracle E-Business Suite and Discoverer environment for Business Intelligence (BIS) and/or Financials Intelligence, including missing profile options for Oracle Applications Administrator and custom Super User responsibility.
    SolutionTo implement the solution, please execute the following steps:
    1. Login to Oracle Applications Systems Administration function as SYSADMIN user and set the profile option as described below:
    a. Profile > System
    b. Check the 'Site', 'Responsibility' and 'Profiles with No Values' checkboxes
    c. Enter "Applications Administration' in 'Responsibility' field
    d. Enter FII: GL BIS Discoverer access (if it does not display the profile option, please try wildcard option "FII%GL%BIS%" )
    e. Then in the next screen, select 'Yes' from LOV under 'Site' and 'Responsibility' column
    f. Save the settings
    g. Again repeat the same steps for custom responsibility "My_Company General Ledger Super User"
    2. Complete/confirm the following steps from Note 313418.1, Section 6, Post Installation Tasks
    a) Step 4. Regenerate your Business Views - done throughNote 313418.1, Section 6, Post Installation Tasks
    a) Step 4. Regenerate your Business Views - done through Oracle Applications Concurrent Manager as SYSADMIN user with the "Business Views Setup" responsibility.
    b) Recommend all steps under 4 and steps under 5
    c) Step 8. Refresh the Discoverer 10.1.2 End User Layer - via SYSADMIN user/responsibility - as described in note
    d) Step 9 -> Need to make sure Applications Administrator responsibility has all
    security and access to the EUL and business areas. Be sure to grant to responsibility
    rather than SYSADMIN user since the "Applications Administrator" responsibility is used to perform Discoverer Administration tasks.
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    -ROLE "Applications Administrator" \
    -PRIVILEGE all_admin_privs
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    -ROLE "Applications Administrator" \
    -PRIVILEGE all_user_privs
    AND
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    - ROLE "Applications Administrator" \
    -BUSINESS_AREA_ADMIN_ACCESS % \
    -WILDCARD \
    -LOG <log file name>
    Note: The above commands need to be in one continuous line. For Unix/Linux, you may separate lines with continuation character "\"
    3. Once all steps have been completed, the standard General Ledger (GL) workbooks and newly created workbooks based on standard GL usiness areas will return data.
    Note: If you are unsure if you are encountering this specific issue, it is always beneficial to test the data via SQL using the same Oracle E-Business Suite user and responsibility.
    The following reference will guide you how to accomplish this:
    Note 279736.1 'How To Run SQL From An Apps Mode Discoverer Workbook In SQL*PLUS'
    ReferencesNote 313418.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite 11i
    Note 279736.1 - How To Run SQL From An Apps Mode Discoverer Workbook In SQL*PLUS
    Keywords'BUSINESS~AREA' 'PROFILES-SYSTEM' 'FII~~GL~BIS~DISCOVERER~ACCESS' 'DISCOVERER~4.1.48.08' 'BUSINESS~VIEWS' 'UPGRADE~TO~11.5.10.2' 'PROFILES-SYSTEM' 'UPGRADE~TO~10.1.2'
    --------------------------------------------------------------------------------

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • Regarding return message from custom transaction

    Hello all,
              i have a scenario where i am calling a custom transaction and trying to get return messages, but i am not getting any return message instead i am getting error message in that transaction even if i am using mode 'N' in my call.
            Do my custom transaction need to follow some methodology which will return error message, as messages are returned when standard call transaction is made.
    Thanks
    raju N

    hello abi,
            i am getting a empty message table, thing is that from the custom transaction they are calling other standard transaction and getting error message. if any error occurs they are using 'message id'  syntax and displaying and if any error occurs internally in that transaction they are using 'message e001'. this kind of error messages are returned to my call transaction but the other one is not getting populated.
    Thanks,
    raju N
    Message was edited by:
            krishnam Raju N

  • Custom report row template

    Few questions when using a custom report row template. Followup to the discussion Report Row Template: Column condition
    1. The row template allows full control how the entire row is rendered. I can see this being used when the report query returns a single row and we need to format it in a very specific way. But when the query returns multiple rows, how is the specified Row Template used? i.e the first row is "consumed" and rendered as per the template. If the same process is repeated for subsequent rows, how can we control whether successive rows are rendered across the page (left to right) or down the page (top to bottom)?
    2. When a custom row template is used to render a tabular form, the hidden columns (marked Edit=Y, Show=N on Report Attributes) are present in the markup even when they are not specified in the row template! i.e. the MRU process works. Of course, this is a good thing but I was curious to know what exactly controls this, what part of the report template controls where the hidden form elements are placed?
    3. Any number/date formatting specified declaratively on the Column Attributes page appears to be taken into account when column values are substituted in the template using #COL# notation. But all the other Column Attributes are ignored (alignment, sum, show, link, etc). Is there a way to use the Link attribute to declaratively specify the link so the value of the column #COL# as seen by the report template includes the A tag?
    Thanks

    Comments? Thanks

  • [Forum FAQ] How do I send multiple rows returned by Execute SQL Task as Email content in SQL Server Integration Services?

    Question:
    There is a scenario that users want to send multiple rows returned by Execute SQL Task as Email content to send to someone. With Execute SQL Task, the Full result set is used when the query returns multiple rows, it must map to a variable of the Object data
    type, then the return result is a rowset object, so we cannot directly send the result variable as Email content. Is there a way that we can extract the table row values that are stored in the Object variable as Email content to send to someone?
    Answer:
    To achieve this requirement, we can use a Foreach Loop container to extract the table row values that are stored in the Object variable into package variables, then use a Script Task to write the data stored in packages variables to a variable, and then set
    the variable as MessageSource in the Send Mail Task. 
    Add four variables in the package as below:
    Double-click the Execute SQL Task to open the Execute SQL Task Editor, then change the ResultSet property to “Full result set”. Assuming that the SQL Statement like below:
    SELECT   Category, CntRecords
    FROM         [table_name]
    In the Result Set pane, add a result like below (please note that we must use 0 as the result set name when the result set type is Full result set):
    Drag a Foreach Loop Container connects to the Execute SQL Task. 
    Double-click the Foreach Loop Container to open the Foreach Loop Editor, in the Collection tab, change the Enumerator to Foreach ADO Enumerator, then select User:result as ADO object source variable.
    Click the Variable Mappings pane, add two Variables as below:
    Drag a Script Task within the Foreach Loop Container.
    The C# code that can be used only in SSIS 2008 and above in Script Task as below:
    public void Main()
       // TODO: Add your code here
                Variables varCollection = null;
                string message = string.Empty;
                Dts.VariableDispenser.LockForWrite("User::Message");
                Dts.VariableDispenser.LockForWrite("User::Category");
                Dts.VariableDispenser.LockForWrite("User::CntRecords");     
                Dts.VariableDispenser.GetVariables(ref varCollection);
                //Format the query result with tab delimiters
                message = string.Format("{0}\t{1}\n",
                                            varCollection["User::Category"].Value,
                                            varCollection["User::CntRecords"].Value
               varCollection["User::Message"].Value = varCollection["User::Message"].Value + message;   
               Dts.TaskResult = (int)ScriptResults.Success;
    The VB code that can be used only in SSIS 2005 and above in Script Task as below, please note that in SSIS 2005, we should
    change PrecompileScriptIntoBinaryCode property to False and Run64BitRuntime property to False
    Public Sub Main()
            ' Add your code here
            Dim varCollection As Variables = Nothing
            Dim message As String = String.Empty
            Dts.VariableDispenser.LockForWrite("User::Message")
            Dts.VariableDispenser.LockForWrite("User::Category")
            Dts.VariableDispenser.LockForWrite("User::CntRecords")
            Dts.VariableDispenser.GetVariables(varCollection)
            'Format the query result with tab delimiters
            message = String.Format("{0}" & vbTab & "{1}" & vbLf, varCollection("User::Category").Value, varCollection("User::CntRecords").Value)
            varCollection("User::Message").Value = DirectCast(varCollection("User::Message").Value,String) + message
            Dts.TaskResult = ScriptResults.Success
    End Sub
    Drag Send Mail Task to Control Flow pane and connect it to Foreach Loop Container.
    Double-click the Send Mail Task to specify the appropriate settings, then in the Expressions tab, use the Message variable as the MessageSource Property as below:
    The final design surface like below:
    References:
    Result Sets in the Execute SQL Task
    Applies to:
    Integration Services 2005
    Integration Services 2008
    Integration Services 2008 R2
    Integration Services 2012
    Integration Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How to get the number of rows returned by a report?

    Hi,
    I'm developing my first application in APEX and so far everything seems fine, except I can't figure out this very simple thing: I have a report based on a PL/SQL block returning an SQL string. I'd like to have a message (something like "X rows returned") just before the report. The closest thing I could find was "X to Y out of Z" in the pagination styles, but that's not what I want. Also I don't think running the same query to get COUNT() is wise.
    Any help would be appreciated.
    Thanks,
    Konstantin

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • Jdev11g;Customizing Business Components Error Messages

    Hi All,
    Using Jdeveloper 11.1.1.2. I have customized the BC error message using message bundle. My message bundle class is
    public class MessageBundle1 extends ListResourceBundle {
    private static final Object[][] sMessageStrings =
    new String[][] {
    { "JBO-26048","Child records exist against selected record " },
    { "EMP_JOB_FK","Child records exist against selected record "},
    { "JBO-25013","Record already exist"},
    { "JOB_ID_PK","Job ID already exsist"}
    /**Return String Identifiers and corresponding Messages in a two-dimensional array.
    protected Object[][] getContents() {
    return sMessageStrings;
    Need help on couple of questions/issues I am facing on this:-
    1) Though I have given the error message for JBO-25013 and JOB_ID_PK, still I am getting following error message on UI , when saving the new record
    "Too many objects match the primary key oracle.jbo.Key[AD_PRES ]."?
    2) Why I am getting "Attribute JobId in HrModule.JobsView1 is required." along with above error message in the error popup window?
    3) When deleting the record, though I am getiing desired error message on UI "oracle.jbo.DMLConstraintException: Child records exist against selected record ", why error message is prefixed with "oracle.jbo.DMLConstraintException".?
    4) How I can localize the error messages to another language?
    Thanks
    Vikram
    Edited by: Vikram K on Mar 22, 2010 3:23 PM

    There is surely a section in the Fusion Developer's Guide on custom error/exception handling. Have you found it? Perhaps you have since you are considering overriding view/model framework objects.
    In JDev 10g there was very good documentation for how to do this in the ADF Developer's Guide. As far as I could tell, the equivalent manuals are the Fusion Developer Guides for ADF 11g. I think you will have a lot of luck getting what you want if you research this a bit more.
    In ADF 10g, what you are alluding to certainly was the solution to what you wanted. I do not know a whole lot about version 11g, but I suspect it is similar in this regard.
    in 10g this process started with overriding the ADF life-cycle.
    Once you get this working I also found some on-line commentary/articles from Avrom Roy-Federman on how to additionally extend error handling.
    All this said, you also seem to be asking some other questions (jobid and such), the solutions of which would require us to have more information about your application, I think.
    Maybe you can take one question at a time? Or start multiple threads?

  • Total Rows returned in interactive report

    Hi
    I have an interactive report that displays a warning message if more than 200 rows are returned. Is there anything within APEX that tells me the exact number of rows returned in my report, or at the very least if my report has exceeded my 200 row limit?
    I have a button on my page that I only want to display if the number of rows returned in my query is <= 200.
    I know that I could use say NDS to execute my select statement in order to determine the number of rows as a seperate statement - but this seems a bit of over-kill.
    Many thanks
    Paul

    M Tajuddin wrote:
    Hi Paul,
    You can change the this from report attributes. Click on Edit page >> click on the Interactive report >> click on Report Attributes on the top >> down the bottom there is an option where you can change the row numbers and error message etc.
    Hope this helps,
    M Tajuddin
    http://tajuddin.whitepagesbd.com
    Hi
    I dont want to modify the number of rows returned. I just want to know how many rows are returned so that I can display or hide a button.
    Thanks
    Paul

  • Explain rows returned in a plan for group by

    I have a (select statement) that returns 18 rows.
    wrap a nested select with a group by around it
    select col_a, col_b from
    (select statement)
    group by col_a, col_b
    still returns 18 rows as expected
    explain it and I see the 18 rows returned at Id 2 and the hash group by and select showing 1 rows.
    | Id  | Operation                                   | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                             
    |   0 | SELECT STATEMENT                            |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                             
    |   1 |  HASH GROUP BY                              |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                             
    |   2 |   VIEW                                      |                                |    18 |  1710 |       | 90896  (75)| 00:00:02 |       |       |        reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.
    | Id  | Operation                                  | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                              
    |   0 | SELECT STATEMENT                           |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                              
    |   1 |  HASH GROUP BY                             |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                              
    |   2 |   VIEW                                     |                                |    18 |  1710 |       | 82656  (80)| 00:00:02 |       |       |                              
    ..In terms of the above plans what does "rows" mean for the hash group by.

    Purvesh K wrote:
    961469 wrote:
    reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.And in fact, how many rows does your entire query return?
    Does the output of two of your queries differ?
    If they do not, then I do not see any issue.No, the output doesnt differ, and its not a problem for me, just something I wanted explained.
    >
    >
    From the Cost and the Rows, posted in Explain plan, it looks like some different plan is being used.Yes, there is, I rewrote it, but only on the inner select statement but I don't have a question on that. If take the inner select statement from both I get the 18 rows correctly.
    Were the statistics pertaining to the tables in use, collected between execution of two queries?no but that last select is only on the outer select, ie shouldnt be affected by the stats, anyway, The queries are run straight after each other.
    I will suggest to read the {message:id=3292438} and post the relevant details.
    Also, do not forget to mention the Table/Index details (actual and with statistics) and the Query.I can, buts its VERY lengthy as theres a lot of nested tables/views and for me not relevant as if I run the inner select on both queries the datasets match. I was hoping for a simpler answer like Ajays which was my understanding of it too but as the outer select and group by hasnt changed, I cant understand the difference in the rows.
    thanks for your reply though.
    >
    How many columns you specified in group by function before & after query modification I thought this too and was my understanding but the group by clause hasnt changed, only the inner select.
    Edited by: 961469 on Jan 3, 2013 7:42 AM

  • How to Query the Summary Name from Custom Section Row Header Information

    I need a query that can help me retrieve the summary name from a custom section row header information.  We have a couple of Denorm tables that when the data is denormalized, the row_name field is only showing the denormalized alias name.  We would like to be able to pull the summary name from the row header information section?  How can we use the denorm alias name and join it to another table to find the associated summary name?

    The following query returns the row name as well as the denorm row name, for a given custom section, where we specify the custom section by the denorm table. You oculd do this in other ways, it just depends on how you want to retrieve the information. Is this what you are looking for?
    SELECT ml.Name [rowName], ml.langID, dr.NAME [denormRowName], dr.FKROWTEMPLATE, dt.GENERATED_TABLE_NAME
    FROM DENORM_CS_ROW dr
    inner join DENORM_CS_TABLE dt on dr.FK_DENORM_TABLE_ID = dt.ID
    inner join commonextendedattributeml ml on dr.FKROWTEMPLATE = ml.fkOwner
    where dt.NAME = 'myDenormTableName'

  • How to get number of rows return in SELECT query

    i'm very new in java, i have a question:
    - How to get number of rows return in SELECT query?
    (i use SQL Server 2000 Driver for JDBC and everything are done, i only want to know problems above)
    Thanks.

    make the result set scroll insensitve, do rs.last(), get the row num, and call rs.beforeFirst(), then you can process the result set like you currently do.
             String sql = "select * from testing";
             PreparedStatement ps =
              con.prepareStatement(sql,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
             ResultSet rs = ps.executeQuery();
             rs.last();
             System.out.println("Row count = " + rs.getRow());
             rs.beforeFirst();~Tim
    NOTE: Ugly, but does the trick.

Maybe you are looking for