No Data Found In APEX report
Hello All
I am new to APEX and have a problem. I have created several reports in APEX that allow users to extract data into Excel. However, one report says that No Data is Found in excel although data appears when report is run. Hope I am making my self clear.
Arie,
in my case I must have hit a bug (still using Application Express 2.2.1.00.04): I observed this "no data found" issue, and worked around it by just disabling CSV export in the report settings and re-enabling it again afterwards.
I don't quit understand why we need to apply procedures likes those described in http://htmldb.oracle.com/pls/otn/f?p=31517:117 : shouldn't a CSV export simply work when the corresponding report is non-empty?
Regards, Thomas
Similar Messages
-
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 AMInteresting. 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. -
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
Roseline1. 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
------------------------------------------------------------------- -
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,
RyanHi 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 -
No data found in MSS Reports.
Hi All,
I've configured the MSS business package in my EP.I've done all the required configuration to get it work.But in all my MSS reports it is showing "NO DATA FOUND".Even the employee search is showing the same message whereas in ESS the employee search and other views are showing proper data.
Can anyone suggest what could be the issue?
Your efforts would be rewarded.
Regards.hi,
MSS now use Launchpad for reporting which u need to configure from the backend system.
You need to customise the Launchpad reportfrom the backend uding t-code FPB_LP_MSS_REP_CUST. this t-code will initialise ure Launchpad report. Check that table FPB_LP6_SNI is no
longer empty, and has the required entry. Then run the transaction to
convert.
Manually add the line to table FPB_LP6_SNI. The values are role = 'MSS', instance = 'REP', and sni_used = ' ' (blank). Then run the transaction to convert.
Also try to run run program #PWPC_CONV_MDT_TO_LPA# with type #RPT0#.
If you want only MDT report's...i.e only HR report..you can include Reporting iView from SAP provided content folder...this is standard iView which will display Manager Desktop.
Thnaks and Regards,
Jigar OZa -
How to pop up if no data found in Crystal Reports XI
Hi,
Can you please suggest me how to alert message if no data found?
Thanks and regards,
Manjunath N. Jogin
Edited by: Manjunath N Jogin on Jan 21, 2010 2:53 PMTo Create a alert the following things has to done
Goto Report menu --> Alerts --> Create or Modify Alerts --> Click on New button.
Give the Name as No Records Found and then click on the Condition button and give the condition as
count({field}) = 0 // Where {field} is any DB field used in the report
This will create the alert. At each refresh it will alert you.
Write a formula in the report as ie.,Alert Message and give the condition as
If IsAlertTriggered ("No Records Found") Then
" No Records Found "
You can use this formula field in the report to show No Records Found when there is no records available.
Hope it might help you! -
ORA-01403 :no data found in apex
dear all
Please, not to view this thread as the contents are same posted in another thread with a different subject.
i have a form with 6 regions.
in one of the region i place a button save.
i have a conditional process to insert the data in the table
after entering the data into the respective fields when i click the save button
it is giving this error.
ORA-01403: no data found
Error UNABLE TO INSERT
OK
what is this error why it is comming?
how to solve it? if anyone gives solution it would be a bright day for me.
Message was edited by:
srikaviORA-01403 occurs when an SQL SELECT statement written inside a PL/SQL proceedure/function etc is expected to return a row (or more) but doesn't.
So, your code to save might read along the lines of:
declare
bar number;
begin
select foo into bar from foobar where id=1;
insert into ... where id=bar;
end;
Now, if the SELECT statement didn't return a row (ie, in the example above there are no records with an id of 1) then you will get an ORA-01403 error.
Look at your proceedure for saving and run any select statements seperately in a SQL editor and check that all return one or more rows. -
Hi All,
When the user runs the report she is not able to get the variable selection screen for currency type in the report, so she is not able to see the data in the report. while all other users are able to get all the required variable selection screen and thus they are able to view the data in the report.
please help me out in this issue.
Thanks,
LalithaLalitha,
Execute the report with user credentials and check if there is any authorization failure in T-code SU53. If every thing is fine its better to delete that assignment in the role and reassign the query to the user's role as we are not able to track what exactly is the issue. It might be an authorization issue on that object. Just check it.... -
No data Found the whole report is suppressed
<p>Hello, </p><p>I am trying to create a report with two commands (without link) Command1 would have data in any circumstance as it has the report information (e.g title etc.,) which is stored in database. </p><p>Command2 data is dependent on the parameters passed (eg. emp_date < = begin_dt(parameter) etc.,) </p><p>Now when there is no data returned by command 2 I still need to display data which is returned by Command1 which is not happening. </p><p> </p><p>To achive this I have created a link and outerjoined the two commands.. it is still not working since the record selection formula is using command2.emp_date< begin_date.. which wud override the outer join. </p><p>Is there any way to achive this. Can anyone please help me with the solution. </p><p>All I want to do is have two queries and display data irrespective of each other. </p><p>Thanks,</p><p> </p>
I'm sure someone else has had this problem before and it has landed in the Knowledge Base. I would seriously take a look up there for some guidance.Â
    - Kathryn Webster (Report Design Consultant)
          Kat's News: http://diamond.businessobjects.com/blog/279 -
No data found on Report based on a collection
Hi all,
I got a page with this 'after-header' process :
begin
if(apex_collection.collection_exists(p_collection_name => 'users')) then
apex_collection.delete_collection(p_collection_name => 'users');
end if;
apex_collection.create_collection_from_query(
p_collection_name => 'users',
p_query => 'select user_name from demo_users');
end;And then, I try to display the collection data in a report, like with this SQL statement.
select *
from apex_collections
where collection_name='users'I got a 'No data found' for this report... I try this very basic example to understand collections, and I don't know what I'm missing...
Thanks a lot
DovikHi,
No problem
Check collection naming
http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#CIHHCGGD
Have nice day
Br,Jari -
No data found from oracle application end
Hi all
i have made a custom PO report, initially when publish a report for particular user out put is coming but when i use different login user and run the same report
then there will be no data found in that report,(output is blank). kindly help me.
Edited by: 802441 on Jan 31, 2011 9:47 PMYou may have more luck asking this in the eBusiness Suite forum (I assume "from oracle application end" = EBS).
-
No data found message w/multiple group by
I am doing a report that has multiple group by and not sure where the code needs to go so it will bring back No data found for the report. Can anyone help me out?
group ROW by GRANDTOTAL
group by EMP_NAME
Employee Name: EMP_NAME
group by CASE_MGMT_TEAM_CD
Team: CASE_MGMT_TEAM_CD
group by ACTIVITY_ID
Activity: ACTIVITY_ID (Following is a Table)
Process Date Amount Count
F PROCESS_DT 9,990.00 9,990 E
Total by Activity: 9,990.00 9,990
end by ACTIVITY_ID
end by CASE_MGMT_TEAM_CD (Following is a Table)
Total for Employee <?EMP_NAME?>: 999,990.00 999,990
end by EMP_NAME (Following is a Table)
Grand Total: 9,999,990.00 9,999,990
end ROW by GRANDTOTALTake a look at this: http://winrichman.blogspot.com/2009/05/no-data-found.html
Thanks! -
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
lamhi
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) -
Display 'No Data Found' if the records doesnot match the parameter
Can anyone pls answer this question.
I have just one parameter, if i select a value from the parameter and the results matches then the report shows records which is obvious but IF no data is matching to the value I selected in parameter, Can I didplay NO Data Found when I run the report??
I want Display No Data found on my report, I just get a blank page with report title, date and PageNof M
Someone pls suggest
I am using CR 11.5hi,
thanks for the suggestion but I am not clear about this part, i am sorry aboiut that:
Create a text object with No Data Found in it.
Conditionally suppress the text object with a formula similar to the following;
{@countdbfieldformula} 0
Where should i exactly drop my text box.
I have parameter on 'Project Name'
Pls suggest me something with steps...i would highly appreciate it -
Hi,
In an apex application, when user downloads data from an apex report into csv, it loses the leading zeros because excel thinks it is a number.
Is there a way to keep the leading zeros?
ThanksI'm afraid but I think that the simplest way is to "quote" the string (so that Excel take it as "text").
Example:
SELECT
'="'|| c1 ||'"'
FROM
select 'MX190' c1 from dual
UNION ALL
select '00190' c1 from dual
Or, sometimes, I save the ".csv" file and load it with Excel's Wizard that allow to specify the column to be considered text ...
But for a normal user is a complex solution...
Thanks
Stefano Corradi
Maybe you are looking for
-
How do i turn on voicemail that says my number is not in their system
How do i turn on my voicemail if when i call it, it says its not in their system?
-
How to create nested folders (i.e. a folder within a folder)
I was reading the booklet which came with iWork 08 and noticed (in a screen dump showing how to import images from iPhoto to Pages) a 'twisty' against an iPhoto folder. This (to me) implied that I can have a folder within a folder. i.e. I could have
-
Dead hard drive: 7200 RPM HDD compatible with a L500-19X Satellite?
Last night, i believe the HDD of my 2 and a half year old L500-19X Satellite died. When I tried to boot, it hung up on the windows icon, and when I try rebooting, it asks me if I want to try some kind of boot recovery function...but when I go to tha
-
ORA-01858 error in Application but not in sqlpluss
Hi. I have this query that runs nicely in sqlpluss and the SQL Commands that came with Expressedition 10g, but when I put it in a report region it produce: report error: ORA-01858: a non-numeric character was found where a numeric was expected query:
-
Attributes not allowed!!
Hello! I'm having a problem when I enter a User using the JNDI, I wonder if anyone in the group could help me! Well, after suffering a lot (lol), I found a nice tutorial on how to enter data in OpenLDAP as I wanted, which was creating a class that ex