ApEx 4: after upgrade, "when no data found" message on report not shown

I have a page that displays a tabular form. Initially, the table is empty, and so I have text in the "when no data found" block of the report attributes.
After upgrading to ApEx 4, this text is no longer shown when no results are returned. It displays the table header, but no rows. So for some reason, it thinks data is being returned -- even though the table is completely empty. I've tried several permutations, but have not been able to find a workaround.
I'll try to set up a standalone page, but I can provide a pointer to the existing page on apex.oraclecorp.com on request.
UPDATE: I think this may be related to the bug I reported on tabular forms.
Is it possible that the empty, hidden row we are adding now counts as a returned row, even though the SELECT statement returned nothing? And thus the report never thinks that there is no data found? This would also explain why it's displaying the table headers, even though no rows are visible.
Edited by: kswartz on Jul 8, 2010 12:18 AM

Interesting. I didn't see anything about this change in behavior in the Release Notes. Did I miss something? It definitely didn't do this in 3.2.
Overall, I think that's actually a very non-obvious change. Seeing a set of table headers with nothing below it looks to me like a mistake. Why would you ever show headers for something when you have no rows? In fact, I thought that was a bug the minute I saw it. With due respect, I don't think the new design is less desirable from a usability perspective than the old one.
It also doesn't work as you described regarding the proportions: in my case, the columns in the header row did not match the sizes of the columns as I defined them. Although I didn't place anything beside the tabular form, if I had, it would still alter the layout when "Add Rows" is clicked. If you know what the size of those columns is supposed to be (because they are text fields of size xyz, for instance), why wouldn't you define the header cells to use that information? You won't get it exact most of the time, but you can get close, if they're all text fields of specific width.
Plus, there's nothing on the Report Attributes tab that indicates the "When No Data Found" option won't apply if you are using a tabular form. The textareas should be disabled -- and at the very least, the on-line help should be mentioning this. It doesn't mention anything about this only applying to standard reports.
Finally, I think you should also put this in the Release Notes, because this requires changes to any application where someone with a tabular form required this. In one case, that was where I provided instructions to users entering data for the first time. Now I have to move it. (Not a big deal, but it would have been nice to know that in advance.) On another page, I put a JavaScript block in there to submit and automatically add a row, because I wanted there to always be a blank row if nothing had been entered -- and that was the easiest way. Okay, granted, that's probably not something you intended to support, but there was nothing wrong with it, technically. And, again, it's fixed by moving that block to the header instead and testing for the number of rows in the table -- easy, now that you provide JQuery for us -- but still manual migration work.
Thanks for the explanation.

Similar Messages

  • After upgradation to ECC6.0 two fields in report not showing

    Hi,
       While running  Z report  Vendor and Material Description is not appearing.This problem is faced after upgradation to ECC6.0.In 4.6C it was showing in detailed. Is there any reports for settlement document having material & vendor code with description.
    Regards
    Nitin A

    Hi Mohamed,
    Thanks a lot for your immidiate reply.
    Is there any reports for settlement document having material & vendor code with description.
    Regards
    Nitin

  • Which is the message name of "No Data found" message in Pagination IR ?

    Hello,
    in IR, in Pagination there exist 2 messages:
    1. When more than maximum row data found message : APEXIR_MAX_ROW_COUNT and
    2. When No Data Found Message: ???
    Which is the name of the 2nd Symbolic Message ? I need it to set its translation globally. I checked User's guide but it was not included there.
    After replacing APEXIR_MAX_ROW_COUNT with custom text i see that even this is not working also! Are there Text Messages defined for these two messages in Pagination in IR or not ?
    TIA
    Edited by: Dionyssis on 23 Οκτ 2009 2:41 πμ

    Yes, i just tried it also. It does not work. The only action that works is by entering text in IR's Pagination text areas. This works, but i would like it to set global message for whole application, not to do it in every IR page of application.

  • Customize No data found error in report

    4.2.1
    thm:24
    Hi Everyone,
      I have a page with a couple of classic reports. When the underlying sql returns no data, it throws the standard "No data Found" message in that report region. Is there a way we can further customize that by adding something like - no data found for he selected range ?
    Anyone has done this?
    Thanks,
    Ryan

    Hi Ryan,
    Under Report Attributes, scroll to the "Messages" section. There you can edit the "When No Data Found Message", which is default set to "no data found"
    Regards,
    Vincent Deelen

  • Display 'No Data Found' message w/ htmldb PopUp

    Hi all,
    Is it possible to control message within htmldb PopUp Lov, sort of 'No Data Found' available in Report template under topic 'When No Data Found Message'?
    Thx
    lam

    hi
    you can create two region with conditions:
    1. Chart region (display if your qurey return values)
    2. Html region with static "Nothing to display" (display if your query no data found)

  • Suppress the enter-query mode when no-data-found after execute a query.

    HI,
    Greetings of the day, Can any one suggest me that how to Suppress the enter-query mode when no-data-found after execute a query on the form by a button.
    whenever i execute query on form and result is no data found then form :system.mode is still in enter-query mode.
    i want that if result is no data found then form comes back it initial state.
    i will thank full of him who will help me..
    Thanks in Advance..

    Put this in your Key-ExeQry trigger:Execute_Query;
    If Get_block_property(:System.current_block,query_hits)=0 then
      Exit_form; --this cancels the Enter-Query mode; Does not exit the form.
    End if;You may want to trap and prevent the "FRM-40353: Query cancelled" message, and change the "FRM-40301: Query caused no records to be retrieved. Re-Enter" message. To do that, you need an On-Message form-level trigger:Declare
      Msg_Code Number        := MESSAGE_CODE;
      MSG      Varchar2(150) := SUBSTR('   '||MESSAGE_TYPE||'-'
                             ||TO_CHAR(Msg_Code)||': '||MESSAGE_TEXT,1,150);
    BEGIN
      If Msg_Code=40301 then
           -- 40301: Query caused no records to be retrieved. Re-Enter
        Message('  NO RECORDS FOUND',No_acknowledge);
      Elsif Msg_Code=40353 then -- Query cancelled.
        null;
      Else
        MESSAGE(MSG,NO_ACKNOWLEDGE);
      End if;
    End;

  • Hide 'No data found' msg in report region  when you 1st click search page

    Hi,
    (sorry if it's confusing but my APEX is in FRENCH and I tried to translate)
    I created a search page in my application.
    1- I have an HTML region, with a search box and I search button
    2- I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message.
    When I click on the search page for the 1st time (on my navigation bar), I would like to HIDE the report region so I don't have the " No Data Found" message.
    Only Once we click on the search button and there is no result, I want to have the message "No Data FOund"
    How can I achieve this?
    thanks
    Roseline

    1. create a hidden element on your page (P1_HIDDEN_ELEMENT)
    2. put your No Data Found message in a span tag
    <span id="no_data_found">No Data Found</span>3. create an on load computation to set your P1_HIDDEN_ELEMENT to 'no_data_found' if it is NULL and to set it to ' ' if it is NOT NULL - type PL/SQL Function Body
    BEGIN
       IF :p1_hidden_element IS NULL
       THEN
          RETURN '<script>html_HideElement(''no_data_found'');</script>';
       ELSIF :p1_hidden_element IS NOT NULL
       THEN
          RETURN ' ';
       END IF;
    END;4. Put this into the page footer:
    &P1_HIDDEN_ELEMENT.The other solution would be to create a display region - pure HTML and to display that first. Once the search is started that region would remain hidden and only the report would show up.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • APEX.AUTHENTICATION.SESSION_VERIFY_FUNCTION - ORA-01403: no data found

    Hi,
    I'm deploying an APEX app with user general identified users (like user1, user2, and so).
    Now in this stage of implementation, we created user groups and user, but when I migrate the app from dev to production, all the new users that we created in the prod environment, when they try to log in, the app sends the error "APEX.AUTHENTICATION.SESSION_VERIFY_FUNCTION - ORA-01403: no data found" and the users cant't access the app.
    We have triple-checked all the variables buyt can't find the error from our side.
    Any help would by highly appreciate
    Thanks in advance,
    Agustin.

    Hi Hari,
    I'm just checking my Ayuthentication Scheme (instead of my Authorization scheme) and it seems to be the origin of the "no_data_found" message.
    The thing is that we make a Validation against one internal user table wich defines the office where the user work. That table had the username in lowercases and even the user wrote its username in the login page, using lowercases, the SELECT returned an "no_data_found".
    If the username field in our table is un UPPERCASE, the same function, typing the username in lowercase, returns OK.
    Thanks a lot for your interest
    Agustin

  • Collapsed Tabular Form Heading when "No data found".

    The ' Collapsed Tabular Form Heading when "No data found" ' problem (speculated to be bug 9893564) is discussed here: {message:id=4419231}. Warning link is out of date. I'm still seeing it in APEX 4.2.
    I support Kelly's comments "looks like something is broken" and "Now this header (which is sized smaller before data is retrieved) comes between the search items and the help message and looks clumsy.".{message:id=9185914}.
    Any suggestion to get around it when no data is found?
    1) Is there a way to hide the header when there is no data? Or,
    2) Is there a way to adjust the width of the columns if the header must display? I'd like them to be about what they are when data is displayed. I know those lengths but not how to affect the header width for a tabular report with no data.
    Example:
    WS APEX_EXAMPLES_01
    demo
    demo
    Appl 78329 Tabular Form - page 1. (I forced query not to find any data for demo purposes.)
    Thanks,
    Howard

    Howard (... in Training) wrote:
    Paul --
    Great! So many new techniques here -- new to me. Generally, I much prefer positive logic as well. But this solution seems to have more pieces than the other.There is method in that.
    Firstly, with Aljaz's approach you can see a flicker as the tabular form is actually rendered and then hidden when the script in the footer is eventually run. This will be more apparent with a longer or more complicated page where it takes longer to reach the script and more content needs to be adjusted following removal of the form. Reversing the logic and hiding the form using CSS in the page header prevents this as the form elements are initially created as hidden nodes in the DOM before any of the page is rendered.
    More important is that this approach applies the principles of the separation of concerns and unobtrusive JavaScript. At some point when developing in APEX you're going to find yourself seriously losing your cool in a situation where you know the app is executing some JavaScript, but you can't find where that script is defined (maybe you've already been there). Look at the page 2 definition using the tree view: where's the JavaScript that is going to run? Now look at page 1: ah, there are a couple of dynamic actions...
    APEX now includes a lot of containers specifically for JavaScript: File URLs, Function and Global Variable Declaration and Execute when Page Loads in page templates and page headers, and declarative and custom Execute JS Code Dynamic Actions. These provide for good separation of concerns: we should use these locations for JS code, and avoid the exasperation of hunting through templates, page/region headers/footers, page 0 regions, pre-/post-element text or wherever to find the script we can see in the page source or JS debugger.
    Aljaz's solution also depends on detecting the presence of the No Data Found message with class <tt>nodatafound</tt>, and on modifying the Add Row button.
    What if someone changes the class of the No Data Found message in the report attributes? The Exists... condition on the dynamic action performs this check in a more direct way (although it's not ideal: DRY is violated by having both 2 copies and 2 executions of the report SQL; nor is it reusable on other form regions).
    Modifying the Add Row button JavaScript directly is intrusive. Like footers and templates, it's another non-obvious location for JS customisation. By using a dynamic action to bind another click handler to the button we're making the modification more obvious, and more importantly we don't have to modify what it's already doing&mdash;or in this instance, even care what that is (in other circumstances we might need to change the order or propagation of events, or suppress the original behaviour).
    As for reusability, my original solution didn't really consider this (as it wasn't mentioned in the OP). Since the subject has been raised, and in accordance with my comments above, I'd approach it in a different way.
    As discussed, I suggest not squirrelling JavaScript away in region templates. I'd create a reusable report template for tabular forms rather than a region one. A <tt>class</tt> defined on the report container there will provide a more direct selector for hide/show behaviour. I'd stick to initially hiding this report via CSS, and use dynamic actions defined on the global page to conditionally show it on page load and bind show behaviour to the Add Row button click. To make these DAs reusable I'd remove the Exists... condition from the first one and replace it with a JS condition that checks to see if the tabular form report contains any visible data rows (the class on the report template will help there as well). Binding the show behaviour to the Add Row button would use the <tt>onclick</tt> attribute as a selector (rather than an ID selector that requires an intrusive edit of the button) so that all Add Row buttons would be affected: <tt>$('button[onclick^="apex.widget.tabular.addRow"]')</tt>.
    And about the style code:
    #report_tabular-form,
    #report_tabular-form .report-standard {
    min-width: 90%;
    } That is an improvement. I had read about it but not considered it for this. I tried the technique used to adjust column width on other reports but when I use "div," it makes the data in that column display only. I really want to adjust the width of the individual column header. Is there a way to do that?I'm not really clear what you're asking here. (Use "div"? Where? How?)
    To control the width of individual report column headers, use the following CSS:
    th#COLUMN_ALIAS {
      width: 10em;
    }Where <tt>COLUMN_ALIAS</tt> is the alias of the column in the query: APEX uses this as the HTML <tt>id</tt> attribute for the column table header element. (Note that <tt>id</tt> attributes must be unique within a document, so it the same column appears in multiple reports/forms, ensure each column alias is unique.)

  • I have updated iOS 6 in my iPhone 4S and it went perfectly fine. Just after that when I opened the message app I found that the sms body of system generated messages was not visible after tapping on them.

    I have updated iOS 6 in my iPhone 4S and it went perfectly fine. Just after that when I opened the message app I found that the sms body of system generated messages was not visible after tapping on them.

    The terms of service of the Apple Support Communities prevent us from helping anyone with a jailbroken phone.
    You're on your own.  Good luck.

  • Listview Report: how to hide "no data found" message

    Good evening everybody,
    I use the "jquery mobile theme 50" and the "listview report" of it. The report always shows "no data found"-entry  if the source query doesn't return any row.
    Is there a way to suppress this entry in Apex? I can hide "no data found"-entry in html using CSS, but I don't want to have it in the html at all.
    Has someone an idea?
    Thanks a lot!
    Jewgenij

    Thank you very much for the answer!
    Unfortunately it works only for desktop themes but doesn't for jquery mobile Theme 50 :-)
    The help text for the listview's (jquery mobile Theme 50) property "No Data Found Message" is
    Defines the text message that displays when the query does not return any rows. If no value is specified the text of the system message APEX.REGION.NO_DATA_FOUND_MESSAGE is used.
    BR
    JeMo

  • Report template enhancement? no data found message

    I have a layout in which I want to show the excel export link in the same html table as a logo, so that code needs to be placed in the report template, but when no data is found I still want to show the logo and so all my reports have the same html code in the "no data found" field. Whenever I want to change this I have to change my template as well as all of my reports.
    Wouldn't it be a nice idea to provide for a "no data found" message in the report template instead of the report itself? I can imagine you would want to show the same "no data found" message anyway for all reports so the template would be a logical place to put this.

    There are known issues with Interactive Reports referencing :REQUEST value, probably due to some inner logic that also handles it simultaneously - potentially causing malfunction or deadlocks.
    One workaround I've learned is to create a computation to assign :REQUEST to a temporary item (a PXX_REQUEST, for instance) and reference it in the query, instead of :REQUEST. This has worked fine for me in my experience.
    Let me know if that helps - pls sign the thread as 'Useful' or 'Correct' if so, hence more people can benefit.
    tks,
    Kleber

  • "no data found" message wrapping in interactive report

    I've looked around and can't figure out what's going on. Any help would be greatly appreciated.
    I have an interactive report which, when no data is found, displays the "no data found" message wrapping very tight. I have uploaded a screenshot of it to TinyPic for you to see what I see.
    The HTML generated around the "no data found" text is the following.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    <SPAN class="fielddata">
    No submissions were found in the system.
    </SPAN>
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    I've looked through the HTML code that is generated for that page, but can't figure out why the words are wrapping. Any thoughts?
    Shane.

    Well, my problem is back again. It is only doing this in IE 8, not FF. When I run IE 8 in "IE 7" mode, the error message shows up fine, all on one line. I actually have two span tags now so I can have some spacing around the "no data found" message. I cannot get the "span" tags to show up in the HTML code. The software for this discussion forum seems to be filtering it out or the web browser is interpreting it when it should not. I will replace the SPAN tags with square brackets so you can see them. I also had to change "style" to "st_yle" so the software did not filter it out. It sure looks like a jumbled mess now.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    [SPAN class="fielddata"][span st_yle="padding: 15px;"]No submissions were found in the system.[span][SPAN]
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    Since I am using an interactive report, I do not believe I have any report template I can alter to adjust how the report and/or "no data found" message are being drawn up. I do have the region of the interactive report set to "Reports Region 100% Width", but the HTML in question is not being generated by that template.
    I wonder if the problem is specific to how IE 8 might be interpreting the inside TABLE tags when it does not have any TR or TD tags within it. Any further thoughts on the matter?
    Shane.

  • My problem is that after upgrade to IOS 6.1.3 my iphone not sounds! dont have sounds notifications for whatssap, FB, mails and can't listen music and talk with skype without headphones or speakers! only have vibrator and sound for one coming call!! what c

    My problem is that after upgrade to IOS 6.1.3 my iphone not sounds! dont have sounds notifications for whatssap, FB, mails and can't listen music and talk with skype without headphones or speakers! only have vibrator and sound for one coming call!! what can i do!???? Thanks a lot for help me!!!!

    I have a nearly identical problem with my Ipad 3. Mine is the left channel. I've yet to find help, but have found a number of other posts on this and other forums discussing the issue. People have tried restore, reset etc. Also, cleaning the ports with compressed air or cotton swabs. It appears to be a software issue, but no one is sure.
    Along with the original poster, I'd appreciate any help.
    As far as the 'level 6' poster, if you're going to be rude, please don't bother. Hope it was just a bad day.

  • After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for

  • Lenovo Yoga 2 13 WLAN Karten Kompatiblität

    Hallo zusammen, scheinbar setzt Lenovo ja unverständlicherweise Bios Whitelists ein um die Anwender bei der Wahl ihrer Komponenten einzuschränken, jetzt stellt sich natürlich einerseits die Frage wieso und andererseits welche Karten kompatibel sind.

  • Byte array to png image conversion

    hi friends i am using a servlet using tomcat server to send multiple images to a client. i have stored all the images in a single byte array.and then encoded using base64. i am sending it to the client side and decoding it. when i extract the byte ar

  • Error : disk needs to be repaired | macBook Pro 15"

    Hello everybody, when I try to verify my HD from the Disk Utility, it tells I have a problem and I get this message " this disk needs to be repaired using the recovery hd restart your computer..... " as shown in the photo below. after restarting the

  • Is there any way on an iPad Air to see your dictation as you speak

    Is there any way on an iPad Air to see your dictation as you speak

  • Lion and iPhoto and Nikon Camera

    Hello. I don't know if this is a Lion or iPhoto problem. So I'm posting this here. I have a Nikon Coolpix 990 camera. I took some photos today. When I attempted to import the photos to my iMac (2009, i7) running Lion with iPhoto 09 version 8.1.2, the