Get "no data found" when I download the report

Hai...

In my application, I created a region of reports where the data are displayed... I gave 'Download' format csv... when I try to download, I could not the data in the spreadsheet "excel" his coming as no data found...


What could be the problem...

Please help me...


David

Hi David,

I've always found preferable to set the value of the element on a page using a calculation when I want him to have a starting value that does not rely on a database column.

On your two fields, set the static allocation Type of Source and remove source.

Now, on your page, click on the button create (icon +) in the section of the Page rendering calculations. Then enter the following settings:

Geographical area: item on this page
Point calculation: select your P1_STARTDATE
Calculation Point: Before header
Calculation type: SQL query
Calculation: Select TO_CHAR(SYSDATE-1,'MM/DD/YYYY') from Dual
Condition Type: Article 1 of the Expression value is NULL
Expression 1: P1_STARTDATE

Repeat this for your usng P1_ENDDATE Select TO_CHAR(SYSDATE,'MM/DD/YYYY') from Dual to the query

Now, when the page is loaded first, the calculation conditions are checked. As the two fields are empty, the calculations are made and items get their start values. Your application should then work ok for export.

Andy

Tags: Database

Similar Questions

  • Download of CSV using Browse point (don't get no data found error)

    Hello

    I use procedure below to download CSV in my table.

    CSV is to have null values in some places ex: 1,.
    2,0.999
    3,
    4,0.696

    below the procedure works fine when I am downloading as CSV: 1.0
    2,0.999
    3.0
    4,0.696.

    My table is seen as two columns, and I get no data found error when downloading a CSV of null values.

    I went through import data in Excel to the database table but no use...

    Please help me on this.

    Procedure
    ===========
    DECLARE
    v_blob_data       BLOB;
    v_blob_len        NUMBER;
    v_position        NUMBER;
    v_raw_chunk       RAW(10000);
    v_char   CHAR(1);
    c_chunk_len  number := 1;
    v_line  VARCHAR2 (32767) := NULL;
    v_data_array  wwv_flow_global.vc_arr2;
    
    BEGIN
    
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data  from wwv_flow_files
     where UPDATED_BY = (select max(UPDATED_BY) from wwv_flow_files where UPDATED_BY = :APP_USER)
    AND id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
     
    -- Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
     v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
     v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
     v_line := v_line || v_char;
     v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
     IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities
      v_line := substr(v_line, 1, length(v_line)-2);
       v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data
       v_data_array := wwv_flow_utilities.STRING_to_table (v_line);
    -- Insert data into target table
       EXECUTE IMMEDIATE 'insert into table_name@Schema1 (col1,col2)
        values (:1,:2)'
        USING
          v_data_array(1),
          v_data_array(2);
          
          -- Clear out
       v_line := NULL;
      END IF;
     END LOOP;
    
    END;
    concerning
    Chauvet

    Published by: Chaumont on 26 September 2012 10:52

    Published by: Chaumont Sep 26, 2012 22:25

    Published by: Chaumont on 27 September 2012 01:58

    Chambers,

    You can use wwv_flow_utilities.array_element to avoid any no_data_found. The function does not raise any errors. For example, for the line which only have a value of table when you wait 2, it can be useful.

    EXECUTE IMMEDIATE 'insert into table_name@Schema1 (col1,col2)
        values (:1,:2)'
        USING
          wwv_flow_utilities.array_element(v_data_array,1),
          wwv_flow_utilities.array_element(v_data_array,2);
    

    Kind regards
    Christina

  • I am trying to install flipshare on my computer. I have vista. When I download the program and try it to install it, I get 2 errors.

    problems with windows install

    I am trying to install flipshare on my computer. I have vista. When I download the program and try it to install it, I get 2 errors. They are as follows...

    "There is a problem with the windows package install." A script required for this install to complete could not be run. Contact your personal support provider or the package. »

    Then when I click OK, this error comes in... "It seems you have an incomplete or corrupt installation. Please use Add/Remove programs to uninstall the previous version. »

    I don't have a previous version of flipshare on the computer, I deleted it and it isn't on the list of programs.

    I have installed all updates.

    I got a support to scan the computer and got a Windows Resource Protection found corrupt files but was unable to solve some of them.

    Does anyone have suggestions as how to do to solve this problem?

    I downloaded Speedy PC Pro in the hope that they could help and he did not. They resumed even remotly and could not understand it :(

    Any help? :(

    Jennifer

    Hi Jennifer,.

    Follow the steps in the article.

    Troubleshoot installing or uninstalling programs

    http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-installing-or-uninstalling-programs

  • Query of the region gets no data found

    Hi all

    I have a region that is of type "SQL query". This area is also a button 'apply update '. There is a validation of the page that looks up a value in a shuttle that goes off when you press 'Apply update'. Sometimes, when the button is pressed and the validation fails the region return that the no data found message as defined in the attribute for the region, other times reports page when the failure of the validation of data which has been in the region until the button is pressed just stay there, as it should.

    Why I get such different results when validation fails? Why do I sometimes get "no data found" and other times I get the data in the array returned by the SQL query?

    A couple of things to point out,

    (1) the table gave in, the sql query will always return Row (s)

    (2) the sql query is NOT dependent on the values of page defined level.

    (3) the sql query is simple, similar to...

    Select *.
    of my_custom_table
    my_column asc order

    Is a global temporary table... but it is defined as "on commit preserve rows", my data must therefore be kept for my entire session, even if it wasn't, it still does not explain the sporadic "no data found", unless the APEX is somehow sometimes change the session and I'm not aware of it...

    Exactly what APEX - and any other web technology using connection pooling- done.

    Replace the TWG with a collection of the APEX. You can define a view of the collection to match the name of the existing table, the column names and data types.

  • I've set up a website in Muse. Any excerpt from fine to preview in a browser. When I download the file to make it live I am getting this error some files on the server may be missing or incorrect. Clear the cache of the browser, and then try again. If the

    I've set up a website in Muse. Any excerpt from fine to preview in a browser. When I download the file to make it live I am getting this error some files on the server may be missing or incorrect. Clear the cache of the browser, and then try again. If the problem persists, please contact Web site author. Art seems to be fine and the host site says it's probably coding error. What should I do?

    Hello

    Have you tried a few steps in the following article

    "Some files on the server may be missing or incorrect" Warning Message

    See if that helps. Let me know if you have any question.

  • How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    A scanned document is just an image; even if it contains text, it is not searchable.

    Put text in a scanned image available, you will need to perform the recognition of text (OCR), which can be made with Acrobat, but not the free player.

  • I've uninstalled and reinstalled the drive several times with the same result, my problem is when I download the drive icons for my browsers and above all my desktop icons change adobe logo, so when I click on them Adobe tries to open them.

    I've uninstalled and reinstalled the drive several times with the same result, my problem is when I download the drive icons for my browsers and changing most of my the desktop icons for the adobe logo, so when I click on them Adobe tries to open them, of course, he does not format because it's not an adobe application , so I tried to restore the computer to an earlier date and it wont let me as long as Adobe reader is installed, so I need to uninstall and now I have nothing to open files and downloads of Adobe, someone had this problem and if so, did you get it resolved? Thank you Tommy...

    This may help: Application, file icons change in Acrobat/Reader icon

  • Interactive report: "no data found" when first loading

    Hello

    I use APEX 4.0 with Oracle 10 g r2 under Windows XP Pro SP3.

    I have an interactive report and a menu with a few items to filter the report.

    The problem is that the first time I load the page, the report shows "no data found", when I reboot, it works. If I navigate to another page and then I go back to the page of report, it also works.

    There seems to be a problem with session state, but I can't found how do works, even using an AJAX setItemInSessionState() function.

    The query depends on the values of the elements:
    select
         SPAT_ID, SPAT_ACCL_NAME, SPAT_AREA_NAME, SPAT_CLASS, SPAT_NUMBER, SPAT_PT, SPAT_TYPE, SPAT_STATUS,
         round(SPAT_CUMUL,2) as "SPAT_CUMUL"
    from
         SPATIAL_POINTS
    where
         upper(SPAT_AREA_NAME) LIKE upper(:P3_FILTRE_AREA_NAME)
    AND upper(SPAT_CLASS) LIKE '%'||upper(:P3_SPATIAL_CLASS)||'%'
    AND upper(SPAT_NUMBER) LIKE '%'||upper(:P3_FILTRE_NUMBER)||'%'
    AND instr(upper(:P3_SPATIAL_POINT_VALUES),upper(nvl(SPAT_PT,' '))) > 0
    AND instr(upper(:P3_SPATIAL_TYPE_VALUES),upper(SPAT_TYPE)) > 0
    AND (:P3_FILTRE_ACC_NAME IS NULL AND spat_accl_name IS NULL OR CASE WHEN :P3_FILTRE_ACC_NAME = '%' THEN nvl(spat_accl_name,'_NULL_') ELSE :P3_FILTRE_ACC_NAME END = nvl(spat_accl_name,'_NULL_'))
    I've implemented on apex.oracle.com, if you find the time to take a look: http://apex.oracle.com/pls/apex/f?p=4550:1
    You should get a "no data found" the first time the page loaded.

    Workspace : yb202826
    login : User1
    password : u_s_e_r_1
    application : 20588. Page 1 of the Geode

    Thank you!

    Yann.

    This problem is described here:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:117

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

  • Tab Counter 1.9.3 says not found when apllication downloaded sound

    Tab Counter 1.9.3 said apllication not found when its downloaded, it is there in the downloads but open and work habit

    Well Yes, it works great now thanks a lot

  • The trail 30 for applications starts as soon as you download the trial version of the creative cloud?  Or, try to Photoshop in 30 days begins on the day that you install Photoshop regardless of when you downloaded the trial version of Creative c

    Made the trail 30 for all applications begin as soon as you download the trial version of the creative cloud? Or the test for Photoshop 30 days begins the day you install Photoshop regardless of when you downloaded the trial version of the creative cloud and installed Lightroom?

    It is the date of installation that counts, but sometimes the 30 day trial may finish early, especially if you change something on your system (for example, hardware, clock, etc. system restore).

  • Hi.Downloaded Elements13. Try to run it, the downloaded package is 32-bit, but it tells me that I need 64-bit. When I downloaded the package, it does not offer an option... I am also frustrated that had produced 8 weeks now and can't use it

    Try to download 13 items. But the package loads 32bitand when I try to install it says I need 64-bit... When you download the package I cannot find the options for flow rates.

    Download and install the 64-bit PES 13.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

    window using the Lightroom 3 link to see these "important Instructions".

  • Hi, I need for my files to end lower case (.pdf). When I download the files, it is automatically in PDF capital. How can I fix?

    Hi everyone, I need help. I need for my files to end lower case (.pdf). When I download the files, it is automatically in PDF capital. How can I fix?

    Hi Sarah,.

    If you could, it will be great since I have no use for him. I was under the impression that what I read before paying that there will be no refund. Thank you if you can get there. Are there other options that could help me with my problem though. I still need to be able to convert as many files in .pdf format, do not. PDF. Please let me know.

    Thank you once again.

    Tri Nguyen

  • When I downloaded the latest version of Firefox, it behind some of my bookmards that I don't like. How back together the same way?

    I want that all updated bookmarks the same. Guess of Firefox to the organization is without help. How can I reset the so all are the same as before?

    Thanks for the answer, but when I downloaded the latest version of Firefox, bookmarks are returned to the format I like: the symbol is followed by the name, all the same set without notches.

  • Hi, I have a problem to download apps on the AppStore. When I download the application, it remains blank

    Hi, I have a problem to download apps on the AppStore. When I download the application, it remains blank

    Force restart of your iPhone, then try again.

    Press and hold the Home and Sleep/Wake buttons for at least ten seconds, until you see the Apple logo.

  • When I downloaded the latest version of Firefox, the impression was so small I could read bvarely. What should I do to enlarge the characters without losing a bit of my toolbars...?

    When I downloaded the latest version of Firefox, the print was so small, I could barely read. What should I do to enlarge the characters without losing a bit of my toolbars...?

    == When I downloaded the latest version of Firefox, the print was so small I could read bvarely. What should I do to enlarge the characters without losing a bit of my toolbars...?

    print is too small

Maybe you are looking for

  • Customize: new tab

    Don't know how I feel about the new look with the 'striped box' icon, but I tried to customize it to include 'new tab', which curiously is not among the options. However, 'new window' which I almost never use because you have started having several t

  • Online banking site javascript functions work not with Firefox 17.01 (or 17.0) on Mac: why work with Safari?

    A link button to submit a transaction on the site of a major Canadian Bank web page does not appear in the rendering of Firefox, but it does in the latest version of Safari. Support staff of the Bank claim that the problem is with javascript and I 's

  • XP key turns out to be unauthorized key MSDN

    Hello, I installed a new motherboard for a customer, and when I tried to activate their product key XP returned unauthorized in phone and internet activation. I ended up calling support and I was told that the key was not a retail key (as the custome

  • Unable to activate Windows Vista by phone

    I just installed my windows vista in my new laptop computer. I received the license key on a sticker on the back of my previous laptop. I've heard that I need to activate my windows by phone in my new laptop computer. But the telephone activation opt

  • Windows mail 0x800CCC78 error code

    Just started not to be able to send e-mail, can receive very well. I get this message and the error code: The message could not be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing. To resolve this issue, go