CSV output  No data found

Hello,
My HTMLDB report displays data, but when a CSV file is generated, 'No data found' displays. Any ideas??

Yes the above mentioned Computation worked for me.
Here's what I did on the page in question.
Create a new Page Computation
Type: Static Assignment
Computation Point: Before Header
Computation: ALL
Condition Type: Value of Item in Expression 1 is NULL
Expression 1: P8_FILTER_BY_TEAM (the name of the page item that needs the default session state set.)
The conditional is important because if a person changes the value and submits the page we want to hold that new value in session state and filter the result set accordingly. However, if the page item is NULL then we're simply extending the display default value to also be the session state default for P8_FILTER_BY_TEAM.

Similar Messages

  • Export to CSV Option - no data found

    Hi
    I have an app with various report regions that work fine on-line. They typically take one or more values from select lists as input to the where clause, and have summary processing based on first or first and second columns. It seems that some reports export to csv just fine, but others produce a csv file with just the 'no data found' message ? Any ideas ?
    cheers
    Jules

    Hi Chris
    I think I understand what happens now - i.e. the CSV export runs in a separate session from the on-line page. Your suggestion has fixed the proplem - by having a button to redirect / resubmit back to the same page the csv export then picks up the right data.
    However I do not understand why as this seems no different to having a one or more parameter fields defined as 'select list with re-direct', which I do. Any further explanation appreciated.
    Jules

  • CSV file no data found

    Hi all
    I am new to APEX development. please help in below
    I have two report pages (interactive reports). Let say
    Page1 : Department Page (List of Departments) link to Page2
    Page 2: List of Employee for selected Department - PageItem (P_DEPARTMENT)
    this report table has source as (select * from emp where department_id = : P_DEPARTMENT)
    Now when i click 'Download' and select 'Excel' format -> I can see data is getting downloaded for Page1
    but not for Page2 for this page..when i download i see blank data in excel sheet.
    I have seen couple of old threads on this same TOPIC
    Re: Strange caching error in exporting a report to csv (AppEx v2.0)
    http://apex.oracle.com/pls/otn/f?p=31517:1:4124351071686
    Suggestion is "compute your items on load - before header. This means to set the items to a kind
    of a default value they should have at the start"
    I was not very clear on above statement and can any one suggest me how to proceed to solve this issue
    i.e how to 'compute your items on load - before header' I am trying to export data in PAGE2 into an excel file.
    THanks

    The threads you found a regarding session state typically in Classic Reports - and if this is a parameter coming from another and you already see data in your IR on the page, then you have a different problem.
    And your other problem may be trickier to track - a search on "oracle apex blank interactive report csv" found these
    download IR to excel produces an empty report -- automatic csv encoding - what's your language?
    blank csv from interactive report -- process removing data - unlikely in your case, but see how different these issues are?
    Can you set up a test case on apex.oracle.com?
    Scott
    blog: [url grassroots-oracle.com]grassroots-oracle.com
    twitter: [url twitter.com/swesley_perth]@swesley_perth

  • CSV output does not show speacial characters properly

    Hi,
    I scheduled a report to generate csv output. Data contains some Czech, French, German characters which are not coming properly in csv. But if generate excel output, I can see it comes properly.
    Please help me to resolve. I can not give long instructions to the users to use Import data options, define encoding etc.(available in MSexcel) while open the csv file in order to get coorect characters.
    Kind Regards.

    UTF-8 encoding is used for CSV output and please make sure you open it in UTF-8 encoding mode of your editor.

  • No data found in csv output

    I have a classic (non-interactive) report that shows some strange behaviour.
    It's a simple page with a report region.
    On the report attributes page under 'report export' the value for 'Enable CSV output' is set to 'Yes' and 'Link label' has a meaningful discription.
    In the development database it works as expected:
    When I run the page the data is displayed and when I click the link for csv output I can either save or open the file. In both cases I find the data I expect in the csv file.
    In production, however, when I run the page the data is displayed, but when I click the link for csv output the resulting csv file just shows "No Data Found"
    I can imagine the report not returning any data, but in that case I shouldn't see any data on screen either.
    And it's extra weird that in development it all works fine.
    Anybody that can offer any help?
    Thanks in advance.

    Hi Eric
    I would never dream of telling anyone not to argue with me :D I've been wrong before and will be again, no doubt!
    For the DIV problem, I was more concerned with < appearing in the output rather than the SQL statement itself - generally problems such as this happen when something on the page is incorrectly formed. When you get a chance, in FireFox, install the Web Developer add-on. When this is installed, on the right-hand end of its toolbar, you will see three buttons - the last two tell you about css and javascript errors. For HTML errors, if you have a text editor that has syntax highlighting, do a View Source on the loaded page, take a copy of the source and paste it in to a new document in the text editor. Save this with an HTML file extension. This should colour-highlight everything. It should become obvious what is wrong as you tend to end up with way too much in the same colour. Finally, on the loaded page, right-click on the DIV text and select Inspect Element - this switches you to a heirarchical view of the HTML on the page in the FireBug pane. Follow the tree up from the DIV and have a look at the structue - at some point, something will look wrong.
    Andy

  • No data found in report csv or pdf output on first page load

    No data found in report csv output on first page load. Report shows up on page, but no data found in csv or pdf output. I always need to submit the page and then it shows data in downloads. The page contains a form (read-only) with a report that references 4 page items by using something like the following:
    and b.employee_no = v('P5_EMPLOYEE_NO')
    and c.fisc_year_pk = v('P5_FISC_YEAR_PK')
    and b.job_class = v('P5_JOB_CLASS')
    and b.organization = v('P5_ORGANIZATION')
    Again, report in the page shows up except there is no data in downloads. Can anyone help me solve this problem? I'm running Oracle APEX 4.2.1 in Oracle database 11gR2.
    Thanks.

    Sounds like a classic session state issue.
    You need to populate you page items using page rendering computations to ensure they're set to session state.
    Or if the download is triggered from a button press, you need to ensure those page items are submitted to session state, perhaps via a PL/SQL action.
    Scott

  • Report export to csv - no data found in report

    Hi all,
    I've followed the steps to export my report to a csv file. In the Report Attributes, Report Export section I have:
    Enable CSV output: Yes           Separator: ,           Enclosed By:
    Link Label: Export
    Filename: Changes.xls
    But when I open it in excel, no data found is the only test showing in cell A1.
    Is there something else I need to do? I don't understand why it's not exporting my report - there is data on my screen in the report.
    Thanks,
    Dave

    Dave,
    Have a look in my blog:
    http://deneskubicek.blogspot.com/2007/03/csv-export-problem.html
    There is an explanation on how to avoid that.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • CSV spreadsheet returning "no data found"

    Hi,
    In one of the reports, I enabled CSV Output so the report can be downloaded.
    When I download it, using Excel 2000, I have no problem, I can see all the right data.
    However, one of my user, who uses Excel 2002, when saves the file and opens it, returns "no data found" on screen.
    Is this an Excel issue? Is Apex not compatible with Excel 2002? Please advise.
    Thanks!

    Do you have any items on your report page, which you use as a condition for the report? Eventually, you need to compute those items on load. If I remember correctly that was the problem I had before.
    Denes Kubicek

  • Csv no data found when using bind variables

    Hi,
    I have created a report, that uses 2 date variables to limit the query and rows display as they should. But clicking the csv link opens csv having one row stating 'No data found...'. If I set static values in place of variables, I get the right result. How could I use bind variables and get the right answer in csv (without coding my own function)?
    Kaja

    I am having the same problem.
    The export link opens a new session without submitting the current page. The page item values are therefor not saved to cache before the export is undertaken.
    Any report using page item bind variables in the where clause will not export correctly as the bind values are either null or those of the previous page submit.
    Any ideas on how to get round this??

  • Pick Slip report gives 'No Data Found' output

    Hi All,
    Problem Statement:
    Iam unable to generate Pick release report, the shipping
    lines status is "ready to release" and we have a available quantity for the shipment.
    Step1 : Create a Order.
    Step2 : Save and Book the Order.
    Step3 : Pick Release the Order.
    Step4 : Go To " View My Requests".
    Step5 : Select the Request Id " Pick Slip Report "
    Step6 : Click on Output.
    Result " No Data Found.
    Thanks in Advance
    SYR

    Hi SYR,
    Pick Slip report gives you out put as NO DATA FOUND, is basically, bcos there has not been any picking of the item, reason may be,
    1. Qty avaialble wont be reservable and transactable
    Check in Inventory> On handqty > click availibility tab
    And see whether the item is available to transact & reserve.
    If you have enought qty thn you shld be able to pick release tht item.
    2. Check which sub inventory are you using while pick release, is it the same as where the item is kept.
    Try this out.
    This may help.
    Thanks
    Manoj

  • Search report - error-no data found when printing to csv format

    Hi all,
    I have a search report,
    I have 4 select list and two text field and two date field to search for the result.
    I have even put the computation for the select list items in
    on load - before header ie setting the items to default value.
    Still when i try to print it in the csv format , and try to open the excel, it is saying "no data found" error
    Please, Could any one give me a solution to solve this bug?
    Note: Ordinary report is getting printted in the csv format.
    Thanks in advance
    bye
    Srikavi

    Hi Denes and Scott,
    sorry, only when i select the values for all the 4 select list
    csv is working. default values are not restored in the session.
    How to restore the values in the session state after pressing the search button.
    i have set the default values for the select list and the query is working fine
    but when i see the session from the toolbar the default values are not present.
    but when i see the debug from the toolbar the values are set properly.
    @Denes
    In your example the session is showing the values of the select list and check box
    The same way i did, but in "session" values are not seen so again no data found is seen when printing csv .
    Bye
    Srikavi

  • Getting no data found error while CSV download

    Hi,
    I have a report generated from the PL/SQL returning the query and I enabled the CSV Download option. But, when I try downloading the report contents using CSV download option, the excel sheet contains message "no data found". I enabled sorting and sum on few columns. Is it anywhere related to CSV download? Any solution would be really helpful..
    Thanks,
    Prabhakar

    Thanks for the help!! yep, it is indeed the wrong session state value. In the report, I was modifying the value to display the report, hence when CSV download is given, it was taking wrong session state value. So, giving "no data found" error. Probably, this may help some people.
    Regards,
    Prabhakar

  • Uploading a CSV file and getting Error ORA-01403: no data found in V4.1.1.

    I have an issue where myself and another user are unable to upload a csv file to my application using the "File Browse" page item in V4.1.1. I get the following error, "Error ORA-01403: no data found".
    This function was working perfectly last week prior to the upgrade of our APEX to V4.1.1 from V3. Other users are still able to upload the csv file, so the PL/SQL behind it must be ok.
    So here is where I am up to with testing.
    Tested the upload using my login on my PC – Fail
    Tested the upload using my login on another PC – Fail
    Tested the upload using other user’s login on my PC – Success
    Tested the upload using other user’s login on another PC - Success
    Any help would be greatly appreciated.
    Cheers,
    Greg

    The offending piece of code was in a block of script that I used from an online sample when I was first setting up this upload script. A colleague had the same issue in another application and rewrote the script to resolve the issue, see below.
    I'm still perplexed as to why the majority of users could run it ok, and there were only 2 of us that it errored on. But now it's working for all, and I can go back to building some cool stuff in V4.1.1.00.23.
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data
    from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USERID)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USERID);
    -- Rewritten to the following, which works.
    select blob_content into v_blob_data
    from wwv_flow_files
    where id = (select ID from wwv_flow_files
    where UPDATED_BY = :APP_USERID
    and LAST_UPDATED = (select max(LAST_UPDATED) from wwv_flow_files where UPDATED_BY = :APP_USERID));

  • Creating a CSV output of just the rows of data.

    Dear All,
    I am trying to create a CSV output from SQL*Plus using the following method... All I need is the pure data, and nothing else.
    set verify off
    set feedback off
    set termout off
    set heading off
    set echo off
    spool <filename>
    <my sql statement>
    spool <off>
    The problem is that the SQL statement is displayed in the output file.
    Does anyone know how to switch this off, before I spool the file, or can I spool the file immediately after execution. I.e. Build this into the SQL statement (somehow)???
    Thanks
    David.

    If you want to handle 100% the output file you can use the package UTL_FILE but the file is going to be store in the server.
    UTL_FILE
    With the UTL_FILE package, your PL/SQL programs can read and write operating system text files. UTL_FILE provides a restricted version of operating system stream file I/O.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file.htm#ARPLS069
    Joel Pérez
    http://otn.oracle.com/experts

  • CSV output/ issue if data contains comma

    Hi,
    I have a report which I enabled CSV output. Some of the columns in the report, I masked them with the format "FML999G999G999G999G990D00", which is one of the currency formats. I realized that if the numbers are 4 digits or larger, which means they contain a comma in the value ($2,203.02), when I download to a spreadsheet, it masks all values that contain a comma with #####
    However, once in the spreadsheet, if I change the format cell, it displays the values correctly.
    Is there any way I can get the right value once I open the spreadsheet without having to format the cells to display the right values?
    Thanks,

    Hi User,
    The "#####" that you see in Excel usually means that the column width is too small.
    If you need to format the data automatically, try saving the CSV file to disk and then opening it with an Excel Template that reads the data into a formatted workbook automatically..
    You will need some VBA code in the Excel auto open macro to pull this off.
    Hope this helps.
    Cheers,
    Patrick Cimolini

Maybe you are looking for

  • Editing xml documents

    My application uses xml for data persistency. My question is: 1. is there a way to partially edit part of the xml file? because if I make some small changes to my data, i wish to save just that part. 2. Or I can just save the whole thing and overwrit

  • Handheld presenter for Adobe Bridge slideshow?

    Does anyone know of a handheld presenter that works with the slideshow of Adobe Bridge on a PC? Most only seem to work with PowerPoint which is not much use for photography because it is not color managed. Bob frost

  • Getting error:  java.lang.IllegalStateException: Service has been started by a different configurable cache factory.

    We are trying to implement host name based security for our Coherence cluster. This is mainly to prevent processes running in one environment (UAT for example) connecting to the Coherence cluster running in another environment (PROD for example). We

  • Exchange 2013 log list

    Can someone point me to a complete list of all of the Exchange 2013 logs that can be enabled? Trying to find information on what logs are enabled, and what information each log contains. Thx, Jeff

  • Upgrade logic board in late 2012 Mac Mini?

    Can I upgrade the logic board in the late 2012 Mac Mini? I have a dual core and I see 2.6 quads out there. Just wondering if it just works by swapping it out. thanks!