Change Null Display on Apex Reports

Consider this scenario:
You have a report that pulls some information. Some rows have information that is NULL. This a report. It has report columns and not items. Is there anyway to display these Null values as something else, i.e. 'TBD' or 'Blank'??
I was fiddling around with a case statement to make the values null, something like
case
   when c.planned_start_date is NULL then 'TBD'
   end as PlannedStartDateIt does place the 'TBD' there but it puts it in another column titled 'PlannedStartDate'
Not sure why yet. Any help would be greatly appreciated.

Hi NewApexCoder,
If you want to set a default value for all the columns in your report, simply go to Edit Report Attributes, and set the Show Null Values as parameter to “TBD”.
However, if you only want to set a default value for a specify column in the report, the easiest way is to use NVL.
In your case, since you are working with a Date data type, first you will have to convert it to char, or use DECODE. For example,
select nvl(to_char(c.planned_start_date, 'DD-Mon-YYYY'), 'TBD')  as planned_start_date from …or
select decode(c.planned_start_date, null, 'TBD', c.planned_start_date)  as planned_start_date from …I hope you find this information helpful.
Thanks,
Erick

Similar Messages

  • Changing font color in a report using SQL query for APEX 5.0

    Hello,
    I am testing APEX 5.0 in my testing environment to see if I can migrate my internal apps from 4.2 to 5.0.
    How can I change the font color in a field based in the SQL query? I know how to do it in 4.2 but I can't find the same in 5.0.
    Thanks,

    Well, I used to put the html tags in the select as text getting the color value depending a CASE , then I had to change the Display attribute for the column in the report as "Display as text (espace special characters...)".
    I found an old post here: https://tylermuth.wordpress.com/2007/12/01/conditional-column-formatting-in-apex/ and  this method still worked for me in APEX 5.0
    Thanks anyways

  • Display apex report with subqueries

    How to display apex report with main query contains sub quires and sub query returns multiple values . Showing error sub query returns multiple rows.

    There is really two ways you can go about this. What it sounds to me like your dealing with is a master detail arrangement. What you probably need is two dependent reports where you pass a selected value from one report to a page item then key off that value for the 2nd report's query.
    Otherwise you could move the sub-query into the from portion of your master query and just pick the fields. This would then join the main query on the sub-query. At that point if you set your fields up correctly, you could use APEX grouping to group the results together and remove extra rows of data.

  • Apex changing nulls to zeroes when creating Flash Charts

    Hey all,
    Apex appears to be changing Null's to Zeroes when generating the XML to fuel a graph. I want to chart this year's output by month against last year's output by month. As this year is not complete, the two lines should be different lengths. When I view the XML, Apex is "filling in" the vacant (future) months with zeroes. This causes the line for this year to continue by dropping to zero for the rest of the year. I have already tried to adjust this by changing the maximum rows for this year's series.
    Any help would be greatly appreciated. Marco, this seems to be up your alley.
    Thanks.
    Paul

    Paul,
    The best place to put it is an Application Process.
    1) Go to Shared Components and create an Application Process (say it's named MY_CHART_XML_PROCESS). The PL/SQL for the Application Process should follow this general outline, substituting your own XML-generating logic for {my chart XML}:
    owa_util.mime_header( ccontent_type => 'text/xml', bclose_header => TRUE, ccharset => 'utf-8');
    htp.p('{my chart XML}');2) Replace both occurences of "FLOW_FLASH_CHART_R#REGION_ID#" with "APPLICATION_PROCESS=MY_CHART_XML_PROCESS" in the region source for the chart that is to use this XML.
    That should do it.
    - Marco

  • Apex Report Very Slow And Aborts

    Hello All.
    I am using Apex 2.2.1 and have created a report region in which I retrieve upto 1500 rows in a report. The underlying report query is a function returning a SELECT statement in which search criteria are made part of the SELECT only if the user has actually typed-in any values for the search criteria fields on the Apex region.
    I also have a "Display" drop down list populated by a hard-coded LOV. Users can select the number of rows desired in the report by choosing one of: "10", "20",
    "50", "100", "200", "500", "1000", "5000" from the drop down.
    I've set the following fields in the "report Section":
    "Report Template" set to Template: 10. Standard
    "Show NULL Values as" set to empty
    "Pagination Scheme" set to Row Ranges 1-15 16-30 in select list (with pagination)
    "Display Position" set to Top and Botton - Left
    "Number Of Rows" set to empty
    "Number Of Rows (Item)" set to P13_ROWS - this is my Display select list
    "Maximum Row Count" set to 5000
    "Strip HTML" set to YES
    The underlying query is not calling any PLSQL functions. It is basically a SELECT
    from a view which is itself a join between two tables. One of these tables has
    1500 rows (each row has 25 columns) while the other has 251000 rows. I am
    selecting one column from this second table.
    Both tables have indexes on the columns used as search criteria and both tables
    and their indexes have been analyzed via DBMS_STATS on Oracle 10gR2. The
    PARALLEL option is NOT enabled on any of these tables or indexes.
    When I run the underlying query (that results from my report function) in SQLPLUS,
    it returns all 1500 rows in under 2 seconds.
    When I run the report in Apex (with out any search criteria), the following occurs.
    When the Display drop down is set to "10", the report returns 10 rows within 1 second.
    When Display = "50", the time takes about 3 seconds.
    When Display = "200", it takes 10 seconds.
    When Display = "500", the report "sits there" for over 30 seconds and then
    literally aborts. The only error message I get is that the "operation could not
    be completed". There is no ORA error message. I checked with our DBA
    and there is nothing in the Oracle server Alert Log. I appended &p_trace=YES
    to my report url and ran the resulting trace file through TKPROF. All looks good.
    What is causing this report to abort and to take so terribly slow?
    It appears to be somehow associated with the "Display" drop down list value,
    but I'm puzzled as to why. As mentioned, the report query in SQLPLUS runs
    to completion in under 2 seconds.
    Any help would be greatly appreciated.
    Thank you.
    Elie

    Hi, Keith.
    I tried the pagination scheme "Row Ranges X to Y (with next and previous links)".
    This caused the same problem - my page aborts with the error message:
    "Internet Explorer cannot open the Intenet site https://oraweb.slac.stanford.edu/apex/slacprod/f?p=116:13:439623456781::NO:::
    Operation aborted"
    I even removed pagination altogether and still got the same error.
    Futhermore, it is sporadic. At times I invoke the report with 500 rows and it
    displays without problem. And then, 5 seconds later, I run the re-run the report (again asking to display 500 rows), and it aborts.
    This report worked without error (it was "slow", but worked) two weeks ago. But now, it is failing. My gut feeling is that my problem lies with out Oracle
    Application Server. I have the feeling that our DBA's have changed some
    sort of configuration (a buffer, perhaps) that is causing my problem. Not sure
    about this. I guess I'm reaching for straws at this point.
    Thanks for your help. It is appreciated.
    Elie

  • No page error but also no image displayed on the report ?

    Hi Everyone,
    First I like to apologise for the long post, but I would like to make sure that I am providing the full information so as not to waist anyone's time.
    As I am having problems displaying images, in a report, but I am not getting any errors, all I see is the typical red X where the image shout be. When I right click the red X and select properties, it all appears to be fine:
    http://127.0.0.1:8080/apex/ZOROPIO.FILE_TO_BLOB?p_file_id=6
    except that Type: Not Available
    and Size: Not Available
    So I decided to creating a table and procedures to specifically test my approach and I am still getting the same result.
    I have an Apex page where uses can upload an image to the system, using the following Page Process:
    On Submit - After Computations and validations
    FOR REC IN( SELECT FILENAME, MIME_TYPE
    FROM HTMLDB_APPLICATION_FILES
    WHERE NAME = :P4_FILENAME
    LOOP
    INSERT INTO AB ( FNAME, MTYPE )
    VALUES (REC.FILENAME, REC.MIME_TYPE);
    END LOOP;
    ZOROPIO.BLOB_TO_FILE(:P4_FILENAME);
    DELETE FROM HTMLDB_APPLICATION_FILES
    WHERE NAME = :P4_FILENAME;
    The AB table is define as:
    CREATE TABLE "AB"
    (     "DB_ID" NUMBER NOT NULL ENABLE,
         "FNAME" VARCHAR2(256 CHAR) NOT NULL ENABLE,
         "A_IMG" BFILE,
         "MTYPE" VARCHAR2(256 CHAR),
         CONSTRAINT "AB_PK" PRIMARY KEY ("DB_ID") ENABLE
    CREATE OR REPLACE TRIGGER "BI_AB"
    BEFORE INSERT
    ON ZOROPIO.AB
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    tmpVar NUMBER;
    BEGIN
    tmpVar := 0;
    SELECT NVL (MAX (DB_ID), 0) + 1 INTO tmpVar FROM AB;
    :NEW.DB_ID := tmpVar;
    IF :NEW.FNAME IS NOT NULL THEN
    :NEW.A_IMG := BFILENAME ('IMG', :NEW.FNAME);
    END IF;
    END BI_AB;
    ALTER TRIGGER "BI_AB" ENABLE
    The BLOB_TO_FILE procedure is defined as:
    create or replace PROCEDURE BLOB_TO_FILE (p_file_name VARCHAR2) AS
    l_out_file UTL_FILE.FILE_TYPE;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    FOR rec IN (SELECT ID
    FROM HTMLDB_APPLICATION_FILES
    WHERE Name = p_file_name) LOOP
    SELECT BLOB_CONTENT, filename
    INTO p_data, file_name
    FROM HTMLDB_APPLICATION_FILES
    WHERE ID = rec.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file := UTL_FILE.fopen ( 'IMG',file_name, 'wb', 32767 );
    WHILE l_pos < l_blob_len LOOP
    DBMS_LOB.Read ( p_data,l_amount, l_pos, l_buffer );
    IF l_buffer IS NOT NULL THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    IF UTL_FILE.is_open (l_out_file) THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END BLOB_TO_FILE;
    This works fine, as I can see the data in both the OS Directory and the AB table after the user uplodas the image.
    I have then define an Apex Report pageto display the uploaded images. The page has the following Source:
    SELECT FNAME, MTYPE,
    '<IMG SRC="ZOROPIO.FILE_TO_BLOB?p_file_id='||NVL( DB_ID, 0)||'"HEIGHT="'||80||'"WIDTH="'||100||'"/>' AS IMAGE
    FROM ZOROPIO.AB
    The ZOROPIO.FILE_TO_BLOB procedure is defined as:
    CREATE OR REPLACE PROCEDURE ZOROPIO.FILE_TO_BLOB ( p_file_id NUMBER ) IS
    l_mime_type VARCHAR2 ( 256 );
    l_file_name VARCHAR2 ( 256 );
    l_bfile BFILE;
    l_blob BLOB;
    l_bfile_length NUMBER;
    l_blob_length NUMBER;
    BEGIN
    SELECT FNAME, MTYPE
    INTO l_file_name, l_mime_type
    FROM AB
    WHERE DB_ID = p_file_id;
    l_bfile := BFILENAME ('IMG', l_file_name);
    -- MAKE SURE THE FILE EXIST
    IF ( DBMS_LOB.FILEEXISTS( l_bfile ) = 1 ) THEN
    DBMS_LOB.CREATETEMPORARY ( l_blob, TRUE, DBMS_LOB.SESSION );
    DBMS_LOB.FILEOPEN ( l_bfile );
    l_bfile_length := DBMS_LOB.GETLENGTH ( l_bfile );
    DBMS_LOB.LOADFROMFILE ( l_blob, l_bfile, l_bfile_length );
    DBMS_LOB.FILECLOSE ( l_bfile );
    l_blob_length := DBMS_LOB.GETLENGTH ( l_blob );
    OWA_UTIL.MIME_HEADER( NVL ( l_mime_type, 'Application/Octet' ), FALSE );
    HTP.P ( 'Content-length:' || l_blob_length );
    OWA_UTIL.HTTP_HEADER_CLOSE;
    WPG_DOCLOAD.DOWNLOAD_FILE ( l_blob );
    DBMS_LOB.FREETEMPORARY( l_blob );
    ELSE
    RAISE_APPLICATION_ERROR(-20007, 'Requested IMG does not exist');
    END IF;
    END FILE_TO_BLOB;
    I have GRANT EXECUTE to ZOROPIO for both the procedures:
    BLOB_TO_FILE
    FILE_TO_BLOB
    The Oracle database verison, Apex version, etc details are:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Language: en-gb
    Application Express 3.2.1.00.12
    Any sugestions, help, etc would be much appreciated.
    Thank you
    Daniel

    Hi everyone,
    I have check everyone possible and I am unable to find the cause of the problem.
    I decided to recreate an identical setup to the examples provided by Denes on his workspace and I still have the same issue.
    I have change the wwv_flow_epg_include_modules.authorize to include Denes procedure as you can see below.
    CREATE OR REPLACE function APEX_030200.wwv_flow_epg_include_mod_local( procedure_name in varchar2) return boolean is
    begin
    if upper(procedure_name) in ( 'my_image_display' ) then
    return TRUE;
    else
    return FALSE;
    end if;
    end wwv_flow_epg_include_mod_local;
    The only way I can get it to work is to change the function to RETURN TRUE before the IF statement.
    Any suggestion and this stage may prevent my insanity from getting to silly levels.
    Regards
    Daniel

  • Oracle bi publisher report for apex - Report Layout

    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to.
    I have 3 tables in my RTF template 1) Header 2) Details 3) Summary. Details section has a group. This runs fine.
    Now if I just combine all the above 3 tables into one by adding row above and row below to the "2) details" table and moving the table 1 and table 3 into those rows, makes the data in the group in table 2 disappear when run on the apex application.
    However it works fine when data is loaded on the RTF template and Preview --> PDF is seen.
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    Krishna
    Edited by: Krishna on Aug 9, 2010 10:08 AM

    Hi, I think you need to provide more information.
    user452458 wrote:
    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to. What modification? added extra fields? Are those fields in the corresponding report query? change to the design of the document? did you delete the old template and re-upload after making the changes?
    Moreover the preview on the RTF template works fine with the same data.Preview from where?
    >
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    KrishnaAlso, you should change your display name to something better than user452458 ;)
    Trent

  • Apex report performance is very poor with apex_item.checkbox row selector.

    Hi,
    I'm working on a report that includes some functionality to be able to select multiple records for further processing.
    The report is based on a view that contains a couple of hundred thousand records.
    When i make a selection from this view in sqlplus , the performance is acceptable but the apex report based on the same view performes very poorly.
    I've noticed that when i omit the apex_item.checkbox from my report query, performance is on par with sqlplus. (factor 10 or so quicker).
    Explain plan appears to be the same with or without checkbox function in the select.
    My query is:
    select apex_item.checkbox(1,tan_id) Select ,
    brt_id
    , tan_id
    , message_id
    , conversation_id
    , action
    , to_acn_code
    , information
    , brt_created
    , tan_created
    from (SELECT brt.id brt_id, -- view query
    MAX (TAN.id) tan_id,
    brt.message_id,
    brt.conversation_id,
    brt.action,
    TAN.to_acn_code,
    TAN.information,
    brt.created brt_created,
    TAN.created tan_created
    FROM (SELECT brt_id, id, to_acn_code, information, created
    FROM xxcjib_transactions
    WHERE tan_type = 'DELIVER' AND status = 'FINISHED') TAN,
    xxcjib_berichten brt
    WHERE brt.id = TAN.brt_id
    GROUP BY brt.id,
    brt.message_id,
    brt.conversation_id,
    brt.action,
    TAN.to_acn_code,
    TAN.information,
    brt.created,
    TAN.created)
    What could be the reason for the poor performance of the apex report?
    And is there another way to select multiple report records without the apex_item.checkbox function?
    I'm using apex 3.2 on oracle 10g database.
    Thanks,
    Niels Ingen Housz
    Edited by: user11986529 on 19-mrt-2010 4:06

    Thanks for your reply.
    Unfortunately changing the pagination doesnt make much of a difference in this case.
    Without the checkbox the query takes 2 seconds.
    With checkbox it takes well over 30 seconds.
    The second report region on this page based on another view seems to perform reasonably well with or without the checkbox.
    It has about the same number of records but with a different view query.
    There are also a couple of filter items in the where clause of the report queries (same for both reports) based on date and acn_code and both reports have a selectlist item displayed in their regions based on a simple lov. These filter items don't seem to be of influence on the performance.
    I have also recreated the report on a seperate page without any other page items or where clause and the same thing occurs.
    With the checkbox its very very slow (more like 20 times slower).
    Without it , the report performs well.
    And another thing, when i run the page with debug on i don't see the actual report query:
    0.08: show report
    0.08: determine column headings
    0.08: activate sort
    0.08: parse query as: APEX_CMA_ONT
    0.09: print column headings
    0.09: rows loop: 30 row(s)
    and then the region is displayed.
    I am using databaselinks in the views b.t.w
    Edited by: user11986529 on 19-mrt-2010 7:11

  • Position of items in a region changes when changing region display point

    Hi all,
    I encounter a strange behaviour of items when changing the display point of a reports region from default (Page Template Body (3)) to anything else.
    If set to Body (3), my items are correctly displayed above the report, but else they are displayed below.
    Changing the sequence numbers does not affect this.
    To clarify what I mean I created a sample application:
    http://apex.oracle.com/pls/otn/f?p=16478:1
    Is there any possiblity to influence whether items in a reports region are displayed below or above the report table? - I did not find anything...
    TIA,
    Felix

    If you read the description of those other regions you'll clearly see "items below region content" rather than "items above region content", like the page template body region #3.
    This is one limitation of the ApEx region templates that some would like to see improved - meaning, allowing for more flexibility.
    Earl

  • Display Integrated Oracle Report in New Browser Window

    Hi All,
    I am using APEX 3.0.1 and Reports Builder 10g and have integrated my Oracle Reports (.rdf) successfully with APEX.
    The trouble is that the report output (in PDF format) is opening in the same browser window as my APEX application and I would like to spawn a new browser window to display the report output.
    The report is being called from a button with a Target of URL and the URL Target is:
    &REPORTS_URL.&module=DEBITNOTE_REP.rdf&destype=cache&desformat=pdf&P_DEBITNOTEID=&P73_DEBITNOTEID.
    Kind Regards,
    Gary.

    Hi Garry,
    Had to do the same thing last week.
    1. Create a javascript function that accepts the report parameters and calls the window.open function for the reports URL
    2. Change the URL on the report button to call this new function
    It might also be worth using a cmdfile (see reports doco) to simplify the URL
    cheers,
    Ron

  • How to do outer join select query for an APEX report

    Hello everyone,
    I am Ann.
    I have one select statement that calculate the statistics for one month(October 2012 in this example)
    select ph.phase_number
    , sum ( (case
    WHEN ph.date_finished IS NULL OR ph.date_finished > last_day(TO_DATE('Oct 2012','MON YYYY'))
    THEN last_day(TO_DATE('Oct 2012','MON YYYY'))
    ELSE ph.date_finished
    END )
    - ph.date_started + 1) / count(def.def_id) as avg_days
    from phase_membership ph
    inner join court_engagement ce on ph.mpm_eng_id = ce.engagement_id
    inner join defendant def on ce.defendant_id = def.def_id
    where def.active = 1
    and ph.date_started <= last_day(TO_DATE('Oct 2012','MON YYYY'))
    and ph.active = 1
    and UPPER(ce.court_name) LIKE '%'
    group by rollup(phase_number)
    Result is as below
    Phase_Number     AVG_DAYS
    Phase One     8.6666666666666667
    Phase Two     14.6
    Phase Three     12
         11.4615365
    I have other select list mainly list the months between two date value.
    select to_char(which_month, 'MON YYYY') as display_month
    from (
    select add_months(to_date('Aug 2012','MON YYYY'), rownum-1) which_month
    from all_objects
    where
    rownum <= months_between(to_date('Oct 2012','MON YYYY'), add_months(to_date('Aug 2012','MON YYYY'), -1))
    order by which_month )
    Query result is as below
    DISPLAY_MONTH
    AUG 2012
    SEP 2012
    OCT 2012
    Is there any way that I can join these two select statement above to generate a result like:
    Month          Phase Number     Avg days
    Aug 2012     Phase One     8.666
    Sep 2012     Phase One     7.66
    Oct 2012     Phase One     5.66
    Aug 2012     Phase Two     8.666
    Sep 2012     Phase Two     7.66
    Oct 2012     Phase Two     5.66
    Aug 2012     Phase Three     8.666
    Sep 2012     Phase Three     7.66
    Oct 2012     Phase Three     5.66
    Or
    Month          Phase Number     Avg days
    Aug 2012     Phase One     8.666
    Aug 2012     Phase Two     7.66
    Aug 2012     Phase Three     5.66
    Sep 2012     Phase One     8.666
    Sep 2012     Phase Two     7.66
    Sep 2012     Phase Three     5.66
    Oct 2012     Phase One     8.666
    Oct 2012     Phase Two     7.66
    Oct 2012     Phase Three     5.66
    And it can be order by either Phase Number or Month.
    My other colleague suggest I should use an left outer join but after trying so many ways, I am still stuck.
    One of the select I tried is
    select a.display_month,b.* from (
    select to_char(which_month, 'MON YYYY') as display_month
    from (
    select add_months(to_date('Aug 2012','MON YYYY'), rownum-1) which_month
    from all_objects
    where
    rownum <= months_between(to_date('Oct 2012','MON YYYY'), add_months(to_date('Aug 2012','MON YYYY'), -1))
    order by which_month )) a left outer join
    ( select to_char(ph.date_finished,'MON YYYY') as join_month, ph.phase_number
    , sum ( (case
    WHEN ph.date_finished IS NULL OR ph.date_finished > last_day(TO_DATE(a.display_month,'MON YYYY'))
    THEN last_day(TO_DATE(a.display_month,'MON YYYY'))
    ELSE ph.date_finished
    END )
    - ph.date_started + 1) / count(def.def_id) as avg_days
    from phase_membership ph
    inner join court_engagement ce on ph.mpm_eng_id = ce.engagement_id
    inner join defendant def on ce.defendant_id = def.def_id
    where def.active = 1
    and ph.date_started <= last_day(TO_DATE(a.display_month,'MON YYYY'))
    and ph.active = 1
    and UPPER(ce.court_name) LIKE '%'
    group by to_char(ph.date_finished,'MON YYYY') , rollup(phase_number)) b
    on a.display_month = b.join_month
    but then I get an error
    SQL Error: ORA-00904: "A"."DISPLAY_MONTH": invalid identifier
    I need to display a report on APEX with option for people to download at least CSV format.
    I already have 1 inteactive report in the page, so don’t think can add another interactive report without using the iframe trick.
    If any of you have any ideas, please help.
    Thanks a lot.
    Ann

    First of all, a huge thanks for following this Frank.
    I have just started working here, I think the Oracle version is 11g, but not sure.
    To run Oracle APEX version 4, I think they must have at least 10g R2.
    This report is a bit challenging for me.I has never worked with PARTITION before.
    About the select query you suggested, I run , and it seems working fine, but if I try this,
    it return error ORA-01843: not a valid month
    DEFINE startmonth = "Aug 2012";
    DEFINE endmonth   = "Oct 2012";
    WITH     all_months     AS
         select add_months(to_date('&startmonth','MON YYYY'), rownum-1) AS which_month
         ,      add_months(to_date('&startmonth','MON YYYY'), rownum  ) AS next_month
         from all_objects
         where
         rownum <= months_between(to_date('&endmonth','MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    select TO_CHAR (am.which_month, 'Mon YYYY')     AS month
    ,      ph.phase_number
    , sum ( (case
    WHEN ph.date_finished IS NULL OR ph.date_finished > last_day(TO_DATE(am.which_month,'MON YYYY'))
    THEN last_day(TO_DATE(am.which_month,'MON YYYY'))
    ELSE ph.date_finished
    END )
    - ph.date_started + 1) / count(def.def_id) as avg_days
    FROM           all_months          am
    LEFT OUTER JOIN  phase_membership  ph  PARTITION BY (ph.phase_number)
                                        ON  am.which_month <= ph.date_started
                               AND am.next_month  >  ph.date_started
                               AND ph.date_started <= last_day(TO_DATE(am.which_month,'MON YYYY'))  -- May not be needed
                               AND ph.active = 1
    LEFT OUTER join  court_engagement  ce  on  ph.mpm_eng_id = ce.engagement_id
                                        and ce.court_name IS NOT NULL  -- or something involving LIKE
    LEFT OUTER join  defendant         def on  ce.defendant_id = def.def_id
                                        AND def.active = 1
    group by rollup(phase_number, am.which_month)
    ORDER BY  am.which_month
    ,            ph.phase_number
    ;Here is the shorted versions of the three tables:
    A_DEFENDANT, A_ENGAGEMENT, A_PHASE_MEMBERSHIP
    CREATE TABLE "A_DEFENDANT"
        "DEF_ID"     NUMBER NOT NULL ENABLE,
        "FIRST_NAME" VARCHAR2(50 BYTE),
        "SURNAME"    VARCHAR2(20 BYTE) NOT NULL ENABLE,
        "DOB" DATE NOT NULL ENABLE,
        "ACTIVE" NUMBER(2,0) DEFAULT 1 NOT NULL ENABLE,
        CONSTRAINT "A_DEFENDANT_PK" PRIMARY KEY ("DEF_ID"))
    Sample Data
    Insert into A_DEFENDANT (DEF_ID,FIRST_NAME,SURNAME,DOB,ACTIVE) values (101,'Joe','Bloggs',to_date('12/12/99','DD/MM/RR'),1);
    Insert into A_DEFENDANT (DEF_ID,FIRST_NAME,SURNAME,DOB,ACTIVE) values (102,'John','Smith',to_date('20/05/00','DD/MM/RR'),1);
    Insert into A_DEFENDANT (DEF_ID,FIRST_NAME,SURNAME,DOB,ACTIVE) values (103,'Jane','Black',to_date('15/02/98','DD/MM/RR'),1);
    Insert into A_DEFENDANT (DEF_ID,FIRST_NAME,SURNAME,DOB,ACTIVE) values (104,'Minnie','Mouse',to_date('13/12/88','DD/MM/RR'),0);
    Insert into A_DEFENDANT (DEF_ID,FIRST_NAME,SURNAME,DOB,ACTIVE) values (105,'Daisy','Duck',to_date('05/08/00','DD/MM/RR'),1);
    CREATE TABLE "A_ENGAGEMENT"
        "ENGAGEMENT_ID" NUMBER NOT NULL ENABLE,
        "COURT_NAME"    VARCHAR2(50 BYTE) NOT NULL ENABLE,
        "DATE_REFERRED" DATE,
        "DETERMINATION_HEARING_DATE" DATE,
        "DATE_JOINED_COURT" DATE,
        "DATE_TREATMENT_STARTED" DATE,
        "DATE_TERMINATED" DATE,
        "TERMINATION_TYPE" VARCHAR2(50 BYTE),
        "ACTIVE"           NUMBER(2,0) DEFAULT 1 NOT NULL ENABLE,
        "DEFENDANT_ID"     NUMBER,
        CONSTRAINT "A_ENGAGEMENT_PK" PRIMARY KEY ("ENGAGEMENT_ID"))
    Insert into A_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TREATMENT_STARTED,DATE_TERMINATED,TERMINATION_TYPE,ACTIVE,DEFENDANT_ID) values (1,'AA',to_date('12/08/12','DD/MM/RR'),null,to_date('12/08/12','DD/MM/RR'),null,null,null,1,101);
    Insert into A_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TREATMENT_STARTED,DATE_TERMINATED,TERMINATION_TYPE,ACTIVE,DEFENDANT_ID) values (2,'BB',to_date('01/09/12','DD/MM/RR'),null,to_date('02/09/12','DD/MM/RR'),null,null,null,1,102);
    Insert into A_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TREATMENT_STARTED,DATE_TERMINATED,TERMINATION_TYPE,ACTIVE,DEFENDANT_ID) values (3,'AA',to_date('02/09/12','DD/MM/RR'),null,to_date('15/09/12','DD/MM/RR'),null,null,null,1,103);
    Insert into A_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TREATMENT_STARTED,DATE_TERMINATED,TERMINATION_TYPE,ACTIVE,DEFENDANT_ID) values (4,'BB',to_date('01/10/12','DD/MM/RR'),null,to_date('02/10/12','DD/MM/RR'),null,null,null,1,105);
    CREATE TABLE "A_PHASE_MEMBERSHIP"
        "MPM_ID"       NUMBER NOT NULL ENABLE,
        "MPM_ENG_ID"   NUMBER NOT NULL ENABLE,
        "PHASE_NUMBER" VARCHAR2(50 BYTE),
        "DATE_STARTED" DATE NOT NULL ENABLE,
        "DATE_FINISHED" DATE,
        "NOTES"  VARCHAR2(2000 BYTE),
        "ACTIVE" NUMBER(2,0) DEFAULT 1 NOT NULL ENABLE,
        CONSTRAINT "A_PHASE_MEMBERSHIP_PK" PRIMARY KEY ("MPM_ID"))
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (1,1,'PHASE ONE',to_date('15/09/12','DD/MM/RR'),to_date('20/09/12','DD/MM/RR'),null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (2,1,'PHASE TWO',to_date('21/09/12','DD/MM/RR'),to_date('29/09/12','DD/MM/RR'),null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (3,2,'PHASE ONE',to_date('12/09/12','DD/MM/RR'),null,null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (4,3,'PHASE ONE',to_date('20/09/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (5,3,'PHASE TWO',to_date('02/10/12','DD/MM/RR'),to_date('15/10/12','DD/MM/RR'),null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (6,4,'PHASE ONE',to_date('03/10/12','DD/MM/RR'),to_date('10/10/12','DD/MM/RR'),null,1);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (7,3,'PHASE THREE',to_date('17/10/12','DD/MM/RR'),null,null,0);
    Insert into A_PHASE_MEMBERSHIP (MPM_ID,MPM_ENG_ID,PHASE_NUMBER,DATE_STARTED,DATE_FINISHED,NOTES,ACTIVE) values (8,1,'PHASE THREE',to_date('30/09/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),null,1);
    The requirements are:
    The user must be able to request the extract for one or more calendar months, e.g.
    May 2013
    May 2013 – Sep 2013.
    The file must contain a separate row for each calendar month in the requested range. Each row must contain the statistics computed for that calendar month.
    The file must also include a row of totals.
    The user must be able to request the extract for either Waitakere or Auckland or Consolidated (both courts’ statistics accumulated).
    Then the part that I am stuck is
    For each monitoring phase:
    Phase name (e.g. “Phase One”)
    Avg_time_in_phase_all_particip
    for each phase name,
    Add up days in each “phase name” Monitoring Phase, calculated as:
    If Monitoring Phase.Date Finished is NULL or > month end date,
    +(*Month end date* Minus Monitoring Phase.Date Started Plus 1)+
    Otherwise (phase is complete)
    +(Monitoring Phase.Date Finished Minus Monitoring Phase.Date Started Plus 1.)+
    Divide by the numbers of all participants who have engaged in “phase name”.
    This is the words of the Business Analyst,
    I try to do as required but still struggle to identify end_month for the above formula to display for the range of months.
    Of course, I can write two nested cursor. The first one run the list of month, then for each month, run the parameterised report.
    But I prefer if possible just use SQL statements, or at least a PL/SQL but return a query.
    With this way, I can create an APEX report, and use their CSV Extract function.
    Yes, you are right, court_name is one of the selection parameters.
    And the statistics is not exactly for one month. It is kind of trying to identify all phases that are running through the specified month (even phase.date_started is before the month start).
    This is the reason why I put the condition AND ph.date_started <= last_day(TO_DATE('Oct 2012','MON YYYY')) (otherwise I get negative avg_days)
    User can choose either one court "AA" or "BB" or combined which is all figures.
    Sorry for bombarding you a lot of information.
    Thanks a lot, again.
    Edited by: Ann586341 on Oct 29, 2012 9:57 PM
    Edited by: Ann586341 on Oct 29, 2012 9:59 PM

  • ORA-01858 error from Apex Report on working/valid underlying query

    After two days of searching these forums and AskTom, I think I need to post the following problem.
    I have what seems to be a valid view of some data created as follows (with an apology for the formatting - doesn't seem to be a way of using a fixed font here):
    CREATE OR REPLACE FORCE VIEW "PRICING_CAPABILITY"."POW_EXEC_SUMM010" ("Item",
    "Jul-09", "Aug-09", "Sep-09", "Oct-09", "Nov-09", "Dec-09", "Jan-10",
    "Feb-10", "Mar-10", "Apr-10", "May-10", "Jun-10", "YTD")
    AS
    SELECT
    "Item",
    SUM(DECODE("ItemMonth",'Jul-09',"ItemValue",0)) "Jul-09",
    SUM(DECODE("ItemMonth",'Aug-09',"ItemValue",0)) "Aug-09",
    SUM(DECODE("ItemMonth",'Sep-09',"ItemValue",0)) "Sep-09",
    SUM(DECODE("ItemMonth",'Oct-09',"ItemValue",0)) "Oct-09",
    SUM(DECODE("ItemMonth",'Nov-09',"ItemValue",0)) "Nov-09",
    SUM(DECODE("ItemMonth",'Dec-09',"ItemValue",0)) "Dec-09",
    SUM(DECODE("ItemMonth",'Jan-10',"ItemValue",0)) "Jan-10",
    SUM(DECODE("ItemMonth",'Feb-10',"ItemValue",0)) "Feb-10",
    SUM(DECODE("ItemMonth",'Mar-10',"ItemValue",0)) "Mar-10",
    SUM(DECODE("ItemMonth",'Apr-10',"ItemValue",0)) "Apr-10",
    SUM(DECODE("ItemMonth",'May-10',"ItemValue",0)) "May-10",
    SUM(DECODE("ItemMonth",'Jun-10',"ItemValue",0)) "Jun-10",
    SUM("ItemValue") AS "YTD"
    FROM
    SELECT
    'New Proposals Received' AS "Item",
    TO_CHAR(t1.scope_received,'Mon-RR') AS "ItemMonth",
    COUNT(*) AS "ItemValue",
    10 AS "SortOrder"
    FROM
    PRICING_CAPABILITY.POW_DATA t1
    WHERE
    t1.scope_received IS NOT NULL
    AND extract(YEAR FROM t1.scope_received) IN (2009,2010)
    AND t1.scope_received >= '01-JUL-2009'
    GROUP BY
    'New Proposals Received',
    TO_CHAR(t1.scope_received,'Mon-RR'),
    10
    UNION
    SELECT
    'New Proposals Completed' AS "Item",
    TO_CHAR(t2.pricing_approval,'Mon-RR') AS "ItemMonth",
    COUNT(*) AS "ItemValue",
    20 AS "SortOrder"
    FROM
    PRICING_CAPABILITY.POW_DATA t1
    JOIN PRICING_CAPABILITY.POW_LAST_HISTORY t2
    ON
    t1.POW_DATA_ID = t2.POW_DATA_ID
    WHERE
    t2.pricing_approval IS NOT NULL
    AND extract(YEAR FROM t2.pricing_approval) IN (2009,2010)
    AND t2.pricing_approval >= '01-JUL-2009'
    GROUP BY
    'New Proposals Completed',
    TO_CHAR(t2.pricing_approval,'Mon-RR')
    GROUP BY
    "Item",
    "SortOrder"
    ORDER BY
    "SortOrder" ;
    This view works, ie produces the right results when run (ie select * from ...) in SQL Developer and in the SQL Workshop section of Apex.
    But when I attempt to produce an Apex report using it as the source of data, I get the following error:
    ORA-01858: a non-numeric character was found where a numeric was expected
    The error is displayed before any part of the report itself is displayed, ie the Region Header is displayed and then the error message.
    So far, anything I've been able to find on the forums or AskTom suggests that it is probably due to a date conversion problem. But the aim here is to summarise dated records by month, so I'm extracted the year and month elements of the date values, converting them to strings (using TO_CHAR), and then using the resulting 'Mon-YY' strings to group the results.
    If there is a better way, I'm interested.
    But I don't understand why Apex seems to be rejecting what appear to be valid results from a valid working query.
    Any ideas? Suggestions?
    Cheers,
    Peter

    Thanks again, Flavio. I'm learning and I appreciate your patience.
    The solution you provided is very similar to the one I came up with after your previous message, but I didn't have the NLS_DATE_LANGUAGE parameter. I'll go back and try it.
    I appreciate your explanation re Apex not needing to know and Oracle assuming that the client knows what it is doing, but it puzzles me more.
    The way that I originally had things, I think, was consistent with what you have explained, but it didn't work. To make it clear:
    1 I had an Oracle view that had no parameters and contained the date literal in the where clause and worked fine in both SQL Developer and in the Apex SQL Workshop.
    2 The view did not return any date values. Aside from the column headings and the first column (of character strings), the body of the table comprised integer values only.
    3 So, when Apex called the view, I would have expected the Oracle server to independently execute the view and return the (dateless) results to Apex, which would then present the unmodified results in a standard report. This is, I think, what SQL Developer and the Apex SQL Workshop appear to have successfully done.
    My expectation seems to be consistent with at least some of your explanation (ie [Oracle assumes] "+that the client knows what it is doing+" and "+apex doesn't need to know anything about the underlying query+"), but is not consistent with actual experience, where Apex seems to know that the underlying query contains a date literal and unsuccessfully (and unnecessarily) attempts to interpret it.
    I'm obviously missing something about how Apex and Oracle interact in this situation. While I don't need to know - as I have a working solution now - it is valuable to understand how things work. Makes life easier and more productive.
    Cheers,
    Peter

  • Conditional display column in report

    Hi,
    If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it?
    It's the same issue discussed in this thread conditional display column in report
    thanks,
    Fadi.

    Samara - I suspect there are a few ways to do this, but none obvious or very easy as far as I can see.
    You can create dynamic SQL (as Arie and others have suggested) to only include the columns that are not null.
    You can build and output the HTML directly to the page, choosing only to include the values that are not null.
    You can create a set of conditions that you can apply to the report columns. A very crude example might be 30 hidden page items like 'SHOW_COL1' etc. (not great, I know), or perhaps you could set a hidden page item to a value like '01:02:03:'etc., with the number only being included if the value is not null (so that col3 being null gives you '01:02::04'etc.), so that the condition for each column is 'Text in expr 1 in contained in Item in expr 2', where expr 1 is '01' for column 1 etc.
    Sorry, that is a very contrived example, but it's just to illustrate that there's generally a way of doing pretty much anything in APEX. You might create your item containing the comparison expression by requerying the data in this kind of way:
    SELECT NVL2(column1, '01', '') || ':' || NVL2(column2, '02', '') || ':' etc.
    FROM table
    WHERE condition
    However, wanting to create a single-row report with nulls hidden makes we wonder what you're actually trying to achieve and whether there's a better way? Could you use a series of page items, for example?
    John.

  • DB links, Bind variables & APEX reports performance

    Hello,
    So the problem is simply that I have two databases:
    A : Has table T1
    B : (APEX database)
    I have an APEX report that simply does the following
    Select col1, col2.. from A@dblink
    This is abviously straighforward, however, I start having considrable performance issues if I have any filters applied to this query using APEX items ( bind variables) :
    Select col1, col2.. from T1@dblink_A_B
    where col1 > :PX_item
    I ran the explain plan and noticed that using the bind variables forces the query to be done on database B, not A which is causing the performance issues.
    I am sure that many of you ran into this issue before, but does anyone know how to resolve this issue ? I am thinking about using Pipelined functions, but am not sure if that will work well if I have a lot of records returned by the query or if this will resolve the issue at all.... your thoughts are appreciated..
    Thanks,
    Sam

    I've always been able to work around my DB link issues in Apex. As suggested, driving_site hint should be tried. Oracle documentation on it isn't great, but I follow this:
    - don't bother including other hints together with driving_site, as they get stripped out when your sql is passed to the remote DB (as per driving_site hint).
    - if you have have subqueries - specifiy driving_site hint in that section of the SQL too. I don't have any proof that this is really required - but it doesnt hurt.
    - include driving_site hint even if all tables are remote. Careful of refs to pseudo cols like sysdate, user etc. I think they are taken as local refs - not remote. I havent tested this properly to confirm.
    - dumb down your test case to eliminate refs to sysdate, subqueries etc.
    - remember that items are text, so you'd need to do to_number(), to_date() on them where appropriate on them in your SQL at the least.
    Seeing as you control the content of your items, SQL injection is a reduced risk. Assuming that's not your top concern anyway, don't get carried away with the bind-variable vs literals debate. Apex does lots of nasty inefficient stuff like IR searches. I'd never use an IR in something that really needs to be scalable anyway. Soo... construct SQL with littlerals based on your items (assuming item refs are the cause of your issue).
    region type=SQL Query (PL/SQL function body returning SQL query)
    begin
      return 'SELECT /*+ DRIVING_SITE(a) */ a.empno,a.ename,a.job,a.mgr,a.loc
            FROM emp@MY_DBLNK A
           WHERE  a.empno = '||:P123_EMPNO||'
           ORDER BY 1,2,3';
    end;Assuming your queries are expensive to execute (local or remote) and dont return too many records (else collection table can get really big), then caching the resultset in a collection gives you nice fast pagination, when using a PPR report. Keep a watch on the size of the collection table - truncate it manually if you accidentally populate it with a big cartesean product etc, else performance could degrade.
    Do main query to populate collection before header. PPR pagination doesnt reload the page, so before-header process only runs once. In my case it works like:
    -- reload button to re-load page, to force a query re-run. The html_Submit_Progress thing loads an 'busy processing' image.
    <input type="button" value="Run query" onclick="javascript:this.disabled=true;this.value='Running...';html_Submit_Progress(this);"  id="SUBMIT"  />
    -- On Load - before header process to populate collection (call in a regular region to see errors, until ironed out)
    declare
      q varchar2(4000);
      v_t0   PLS_INTEGER := DBMS_UTILITY.get_time;
    begin
       :P0_QSEC := '0';
      IF APEX_COLLECTION.COLLECTION_EXISTS(P_COLLECTION_NAME=> 'Q1')
      THEN
        APEX_COLLECTION.DELETE_COLLECTION(P_COLLECTION_NAME=>'Q1');
      END IF;
      if (:P0_DBLNK is not null) then
        q:= 'SELECT /*+ DRIVING_SITE(a) */ a.empno,a.ename,a.job,a.mgr,a.loc
            FROM emp@'||:P0_DBLNK||' a
           WHERE a.job like "M%"
            AND a.empno = #EMPNO#
           ORDER BY 1,2,3';
        q:= replace(q, '"', '''');
        q:= replace(q, '#EMPNO#', :P123_EMPNO);
        -- bulk
        APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B(
            P_COLLECTION_NAME => 'Q1',
            P_QUERY => Q);
       -- record count
       -- APEX_COLLECTION.collection_member_count
      end if;
      -- display in page footer or whatever
      :P0_QSEC := TO_CHAR ((DBMS_UTILITY.get_time - v_t0) / 100, '000.00') || ' sec';
    exception
      when others then
      raise_application_error(-20501, :P0_DBLNK||'< br >'||sqlerrm||'< br >'||q );
    end;
    -- then PPR report is just like
    Select C001, C002, C003, C004, C005
    From apex_collections
    Where collection_name = 'Q1'
    order by seq_id;Edited by: maceyah on Sep 7, 2011 9:26 AM
    Useful link on bind variables for CREATE_COLLECTION_FROM_QUERY_B ==> https://forums.oracle.com/forums/thread.jspa?threadID=2305634&tstart=0
    Edited by: maceyah on Mar 2, 2012 3:18 PM

  • Dynamically changing column display type

    Hi,
    I have a report that gets generated every day with different column names. The report contains a decode statement that uses a row value to return using pictures. The problem I am running into is the column is being displayed as text and the value of the row is showing up as some html text instead of the picture. The default Column report in APEX 4.1 is for the report to be displayed as "Display as Text". I know the APEX team did this for security reasons. Is there any other way to display the column as "Standard Report Column".
    I want the report to be displayed as a "Standard Report Column" instead of me going in and changing it manually to "Standard Report Column".
    Any help in the right direction is appreciated.
    -Abe

    I have been trying to find the same solution... the ability to either default all my columns to "Standard Report Column" instead of "Display as Text" or to dynamically change them from code. Or it would even be great if the "Display As" value on report columns (both Classic Reports and Interactive, mine is Classic) was a column in the "Column Attributes" table on the "Report Attributes" page so that I could just change them all and hit "Apply" from that one page instead of having to go into each column's properties individually. (It's time consuming and tedious and easy to miss columns because I can't tell what I've changed.)
    If anyone has any thoughts, I'd love to hear them...

Maybe you are looking for

  • Xf86-video-ati direct rendering yes, but glxgears shows nul [solved]

    glxinfo says i have direct rendering, but glxgears does not show anything (it still processes stuff, and gives me fps (which vary with the size and visibility of the window)) so here are the log/outputs that might have the answer: glxinfo $ glxinfo ~

  • How do read/write records from a SQL server hosted on the Web?

    If I have a MS SQL  Server hosted on the internet, how can I use Labview to access it? Examples appreciated. TIA, Les  Solved! Go to Solution.

  • How to migrate installment plan with open items

    Hi all, I am trying to figure out how to migrate an installment plan, when my legacy system does not tie my open items directly to my installment plans.  And the amounts in my open items table may not add up to the exact amount of the installment pla

  • FC Payment  on BP Account

    Hi I want to add a FC payment on a customers account (the account is set to all currencies) But i cant figure out how do it, i thought you would just enter EUR infront of the 20 on the payment account field in the bottom right of the screen, can some

  • Hiding second page in adobe forms

    hi all,         I have a adobe form with 2 pages. My first page needs to be displayed always whereas the second page needs to be displayed only for certain conditions. Please let me how this can be done asap.  Thanks in advance. Regards, Vinod.