The report columns duplicated when the region is copied.

Re: Report columns duplicated when the region is copied.

When I copy a region that I created the form master / detail report columns are duplicated. I am actually copy the entire page, but I had other cases where I just copy the desired region and the columns have been duplicated it as well. And, of course, there is no way I know to remove the columns of the shape. But I doubt it would help because, in some cases, I've tried - the columns seems to be 'related' in that a change to a copy of the column has been duplicated in the other, when changes have been applied.

In the example (below), there are three areas on the page and the problem occurs in region 2. (I think I'll probably remove the first region). He was ripping trying to get the report of region 2 and changes formish tabular region 3 on the same page. I made this in Oracle 11.2 in our APEX 4.1 and imported to 4.2. You can see here:

WS apex_examples_01
demo
demo
Appl. 991204

Page 57 is the original page created in 4.1 and imported
58 page is the page copied from 57 under 4.1 and imported
59 page is the page copied from 57 under 4.2 (same result 4.1).

If you want to try the page, select DSD01 in the DSD LOV, click on "Application process" and then click the icon change. Ignore errors in the region 1 - I'll probably delete this region. The data are region 3 is Run Date may 12, 13.

Is there a setting that allows this region can be fully copied without duplicating the columns?

Thank you
Howard

P.S. I think I know why this is happening: APEX hates me!

Howard (in training) wrote:

P.S. I think I know why this is happening: APEX hates me!

I think it's a trap left by tabular, tabular forms of sabotage tabular forms... I love ;-)

This is a long-standing bug very (+ {: identifier of the thread = 269916} +) that I've seen before: + {message identifier: = 10504044} +.

The problem in the region created by Wizard of origin not having either do not report Source using specific query column names and validate queries / use column names generic (analyzing the query executing only) options selected. Click on the radio button using specific query column names and validate query before copying the region/page. Compare the before and after effects of do so on pages 570 and 571 in your sample application.

(Looking for the Forum before posting?) Previous discussions were not hard to find in this case.)

Tags: Database

Similar Questions

  • Report column width and control region

    Hi all

    I have a page with several area of report. I need to fix their width to a certain value.
    Width of the region is apparently according to the column width.

    I tried what is suggested here

    Re: Change column width

    put ' width: 300: in the CSS Style of a column. It works in IE but not in firefox. Most of my users use firefox.

    My questions are the following:
    1. is there a better way to define the width of the region to a fixed value? (not the column width setting)
    2 - does anyone know how to change the column with which works in firefox and IE?

    Thank you very much!

    -Joel

    Use display: block; width: 300px; in the Style column CSS attribute, as in This example.

  • How to change a field that is the "Standard report column" when adding new line

    Hello

    With apex 5.0 and database 12 c, I have created the query as follows:


    APEX_ITEM. HIDDEN (2, TRANS_M_CODE).

    APEX_ITEM. HIDDEN (3, TRANS_D_CODE).

    APEX_ITEM. HIDDEN (4, TRANS_TYPE).

    APEX_ITEM. HIDDEN (5, CO_CODE).

    APEX_ITEM. HIDDEN (16, DR_LOCAL).

    APEX_ITEM. HIDDEN (17, CR_LOCAL).

    APEX_ITEM. POPUP_FROM_LOV (6, ACC_CODE, 'GL_ACCOUNT') ACC_CODE,


    This field is a Standard report column, when there are data without problems, but when you add news is disabled showing null.



    Any Suggestions please

    use the query

    Select

    "ROWID",.

    apex_item. Hidden(1,empno) | EmpNo as empno,

    ENAME ename,

    "JOB."

    "BISHOP."

    "HIREDATE",.

    "SAL."

    "COMM"

    "DEPTNO".

    of ' #OWNER # '. " EMP.

    Empno as hidden item and ename like textbox to display as a tabular presentation

    apex_item. Hidden concat with hidden empno point for your use

  • When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    You use listener EA3 ADR?

  • Hide the "No data found" msg in the region to report when you 1st click Search page

    Hello

    (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 have the search button

    2 - I have a region (PL/SQL source) report, which sometimes does not return any data, giving a message 'No Data Found.'.


    When I click on the search page for the 1st time (on my navigation bar), I like to HIDE the region report so that I do not have the message "no data found".

    Only once we click the search button and there is no result, I want to have the message "no data found".

    How can I achieve this?

    Thank you

    Roseline

    1. create an item hidden on your page (P1_HIDDEN_ELEMENT)

    2. place your message no data found in a span tag

    No Data Found
    

    3 create a load calculation to set your P1_HIDDEN_ELEMENT to 'no_data_found' if it is NULL and put it to ' ' if it is NOT NULL - body of the type PL/SQL function

    BEGIN
       IF :p1_hidden_element IS NULL
       THEN
          RETURN '';
       ELSIF :p1_hidden_element IS NOT NULL
       THEN
          RETURN ' ';
       END IF;
    END;
    

    4 put this in the footer:

    &P1_HIDDEN_ELEMENT.
    

    The alternative would be to create a display area – pure HTML and display only the first. Once the search has begun this region would remain hidden and only the report themselves.

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

  • What region in the report column HTML link?

    Dear gurus of the Apex,
    OK, I'll go straight to my question. I have a page to download file with region (conditional) report that comes after the file download process. According to the report that I have a column to remove the file downloaded (column has an image link, the target application, the name of the option: P2_DELETE_ID value: #DOC_ID #). Basically the report picks up just downloaded file ID and allows me to delete the file by having Hiden point Page (P2_DELETE_ID) and before the process of header:
    BEGIN
    REMOVE FROM EBA_ASSET_ORDER_TEMP_DOCS
    WHERE annual =: P2_DELETE_ID;
    END;
    condition: Expression 1 value is not Null, and the value of the Expression 1:
    P2_DELETE_ID
    I and another conditional region (which is HTML) he comes after the file download process as well. The Source region is:
    & lt; div id = "FinalMessage" > & lt; / div >
    & lt; br / >
    & lt; div > & lt; a href = "javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#')"; > & lt; "img > src="/i/delete.gif "style =" position: relative; " Top: 1px; ' / > delete the downloaded file & lt; /a >
    & lt; / div >
    where id = "FinalMessage" - is the JS success/error message
    and... href = "javascript:confirmFileDelete--is my real question. So I try to hide my region to report and show only my region HTML where I will be able to this (... href...) link delete file from my table. I am able to dele file using report link colum but my... href... link dosnt want to delete my file, doen't even want to pick up the ID of file. Is there a way where I can link my... href... link to pull the report column?

    Thank you

    NP - now access, so I will have a look

    Andy

  • Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    Hi all

    I have create report sql in version 4.2, and now we have apex version 5.0 upgrade.

    I encountered error when I change the State of sql

    The error massage:

    Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    My SQL

    SELECT VW.*

    , CASE WHEN (VW.file_code is null

    OR VW.cancel_flg = 'Y'

    OR (TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = trunc (sysdate))

    ) THEN

    ' < font color = "Red" > < b > other < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:51: & SESSION. : O PR: & DEBUG. : 51:P51_FILE_CODE, P51_COSTING_CODE, P51_TOUR_REG_NO, P51_VERSION_NO, P51_REQUEST, P51_AGENT_NAME, P51_ADULTS, P51_CHILDS, P51_MKT_CODE, P51_QUOT_CURR:'

    || FILE_CODE | «, » || COSTING_CODE | «, » || TOUR_REG_NO | «, » || VERSION_NO | «, » ||' OPR' | «, » || AGENT_CODE | «, » || VW. FROM_PAX | «, » || 0||','|| VW.mkt_code | ',' | VW. QUOT_CURR |': ' > < font color = blue > < b > other < /b > < / police > '. "

    END as "other Actions".

    , CASE WHEN ((VW.file_code is not null AND TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = TRUNC (SYSDATE))

    OR cancel_flg = 'Y '.

    OR (VW. REF_COSTING_CODE = VW. ADDL_FIELD2 AND VW. ADDL_FIELD1 LIKE '% COPIED FROM % OF APPROVAL'

    AND BOOKING_NAME LIKE "%-Backup")

    ) THEN

    ' < font color = "Red" > < b > edit < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:149: & SESSION. : & DEBUG. : 149:P149_COSTING_CODE:'

    || COSTING_CODE |': ' > < font color = blue > < b > edit < /b > < / police > '. "

    END AS 'Edit '.

    , CASE WHEN (Nvl (cancel_flg, 'n') = 'Y')

    )

    THEN

    ' < font color = "Red" > < b > add < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:33: & SESSION. : & DEBUG. : 33:P33_COSTING_CODE, P33_FILE_CODE, P33_MKT_CODE, P33_QUOT_CURR, P33_NO_OF_ADULT, P33_NO_OF_CHILD:'

    || COSTING_CODE | «, » || file_code | «, » || VW.mkt_code | ',' | VW. QUOT_CURR | «, » || VW. FROM_PAX | «, » || 0 | ': "> < font color = blue > < b > add < /b > < / police > '

    END as 'Services '.

    OF TOUR_MAS_VW VW

    How to solve it.

    Thank you

    Dear friends

    Thanks for your helping hands.

    I found the solution for this. We can solve this problem by using these solutions

    • A region of HTML:

      click me
      
    • Using PL/SQL:
      htf.anchor('f?p=100:5:'||V('APP_SESSION'),'click me');
      
    • Using a SQL query: SELECT htf.anchor('f?p=100:5:'||:APP_SESSION,'clickme') FROM DUAL;

    We can write the query in the form

    SELECT ' f? p = 100: 1 :'|| : APP_SESSION |': ' | : APP_UNIQUE_PAGE_ID |

    ': P1_EMPNO :'|| employe_id,

    first name,

    job_id

    Employees

    Thank you & best regards

    CORINE

  • Variable setting wrong with dynamic action for the region of report

    Hello

    I can't setting a variable. Here are the details of connection:

    Connection information:

    TCARMY workspace

    User Apex_dev

    Password dev_apex

    Application 88542

    Page 11

    If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.

    The modal window should popup and run the sql at that time with the variable data and view the two columns. And if the user clicks on the second row, it would display the data in the row.


    Thank you

    Tim

    TC-army wrote:

    If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.

    What has not been set up right, it's that the element of P11_NAICNUMD parameter was not specified in the source attribute of Page to go to the region, modal Discount. The current value in the browser page, therefore, was not defined in session state when the report has been updated by the dynamic action. When

  • Link in the report column

    Hello

    How can I create a column of link area of report (not an area of interactive report).

    Link column configuration section is not available for a report from the region.

    APEX version: 4.0.1.00.03

    Thank you.

    Dave,

    Do you not see a section labeled

    "Link in the column".

    When you drill down on a particular report column? I see this section of the Interactive reports and classic.

    -Joe

  • Need help with Javascript to get the value of standard report column

    Hi all

    Apex 3.1 version

    I have a query SQL (editable report) region where I need to do validations using a process of OnDemand and javascript. For this posting, I need to use the serial number and id of this same report line item. The function is called when the serial number is changed. I can get the serial number easily because it is a text field, however, the item id is a standard report column (which actually a text field or hidden gives me a checksum error, long story). How can I get the value of the standard report column to set the value of an element of the Application to use in my process of application as well as the serial number? Here is my code below.
    <script>
    
    function f_ValidateSerial(pThis)
    {
        
      // The row in the table
    
      var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    
        //alert('Row is '+vRow);
    
    
      // Display the serial number
        //alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
    
      
     var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
     get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
     get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value);   // Here's where I need to get the item id to set application item!!
     
     gReturn = get.get();
     
    if (gReturn)
        { 
          alert(gReturn);
        }
     
      if(gReturn)
        { 
          html_GetElement('f21_'+vRow).value = '';
        }
               
    }
    </script>

    Hello

    Ok

    Item ID is standard report column.
    If you enter this Expression HTML column

    #ITEM_ID#
    

    I guess that the substitution of column item Id is #ITEM_ID #.

    Now, you have hidden input form that is not submitted.
    Then in JavaScript

    get.add('F101_INVENTORY_ITEM_ID',+html_GetElement('item_id_'+Number(vRow)).value);
    

    Kind regards
    Jari

  • view the report in the region

    Hello
    I have 2 regions. in the region1, I add a button (and region1 have 3 text fields). region.2 type is query sql (pl sql return sql query function body).
    And I also have a process called insert. It is for the insertion of data (data inserted into 3 text fields) in the database when I am pressing the Add button.

    Insert the code in process

    Insert in the values(:p18_attributename,:p18_description,:p18_datatype) attribute.

    When the selected in the region.2 region1 (add button) button must display the report. To do this, I wrote the code in the source of the region.2 as follows

    DECLARE
    v_query varchar2 (1000);
    BEGIN
    IF: P18_attribute_name is not null THEN
    v_query: = 'SELECT attributename, description, attribute data type;
    END IF;
    Return (v_query);
    END;

    You can guide me please.

    Hello

    First of all good practices to use as the column names in your insert statement.

    Secondly, in your insert query, you mentioned "p18_attributename" values, but in your pl/sql code, you used "P18_attribute_name" it is intentional or a typo?

    Thirdly, after the insert are you no compensation values textfield? I think you should. Why should you check

    IF: P18_attribute_name is not null

    in your pl/sql code, you can directly write the sql code, when there is all the data that it will display after refresh your page.

    Thank you
    Tauceef

  • HOW TO ADD HYPERLINK IN THE INTERACTIVE IN APEX 5 REPORT COLUMN?

    Hello

    I'm new apex.i oracle uses apex 5.

    I want to do a column in my report to a hyperlink.

    When I put the following SQL query there are no errors, but in the report, it shows that a text.it is not rendered as a hyperlink.

    Select

    BL_BUG. BUG_TITLE as BUG_TITLE,

    "BUG_ID" BUSINESS SUCKS SO "

    " ELSE ' < a href =" http://LCS.corpnet.ifsworld.com/login/secured/buglnw/BlBug.page? & BUG_ID = ' | BUG_ID | "' target = '_blank' > ' |" BUG_ID | "< /a > ' END like BUG_ID,

    BL_BUG. DESCRIPTION as DESCRIPTION,

    CASE WHEN BL_BUG. CASE_ID = 0

    THEN NULL

    OF OTHER BL_BUG. CASE_ID

    END as case_id,

    BL_BUG. BUG_SOURCE_REFERENCE as BUG_SOURCE_REFERENCE,

    BL_BUG. MODIFIED_BY as MODIFIED_BY,

    BL_BUG. Date_modified as DATE_MODIFIED

    BL_BUG. CREATED_BY as CREATED_BY,

    BL_BUG. Date_created as DATE_CREATED,

    BL_BUG. BUG_CATEGORY as BUG_CATEGORY,

    BL_BUG. BUG_IMPACT_DESC as BUG_IMPACT_DESC,

    BL_BUG. BUG_SOURCE as BUG_SOURCE,

    BL_BUG. TASK_ID as TASK_ID,

    BL_BUG. ORIGINATING_SOLUTION_ID as ORIGINATING_SOLUTION_ID

    AT THE BEGINNING OF THE BL_BUG WITH BUG_ID =: P405_NEW CONNECT PRIOR BUG_ID = BUG_SOURCE_REFERENCE ORDER BY BUG_ID, BUG_SOURCE_REFERENCE

    bl_bug is my table.can someone tell me why is that?

    Thanks in advance!

    Hi geslin,.

    Garza says:

    I'm new apex.i oracle uses apex 5.

    I want to do a column in my report to a hyperlink.

    When I put the following SQL query there are no errors, but in the report, it shows that a text.it is not rendered as a hyperlink.

    bl_bug is my table.can someone tell me why is that?

    Yes. As narrated by Sunil, you must change the property view as of column DESCRIPTION Standard report column if you use the component view. If you use Page Designer view, and then set the column of Type plain text and No special escape characters .

    If you use followed by "Designer's Page" the following suggestions:

    Kind regards

    Kiran

  • What is the differece between a Standard report column and that is set to display text (escape special characters)?

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Here is the difference:

    • Standard report column: this is used when your column in the SQL query returns the HTML markup. For example the query SQL with APEX_ITEM API columns or columns where you have mixed data in the column with the markup. In short, APEX rendering engine treats the column as HTML markup and analysis accordingly to display the required HTML element.
    • Display text (escape special characters): this type analysis the column data in the form of data stored in the database (no HTML). During analysis if the data contains special characters then it escapes and displays the data.

    Yes, you can mix the manual in the form of built on APEX_ITEM with normal standard report (display text) columns.

    I hope this helps!

    Kind regards

    Kiran

  • The report column position

    Hello

    I looked at the report "database application example" that comes with APEX 4.2.6.  I wanted to know the setting that shows some of the columns in all (marked in red below) and a few columns in all but their values under the column (marked in green box below).

    Receipt.png

    Below is the setting of the user interface for the region of its report.  Please specify.

    Receipt.png

    Thank you

    -Anand

    anand_gp wrote:

    I looked at the report "database application example" that comes with APEX 4.2.6.  I wanted to know the setting that shows some of the columns in all (marked in red below) and a few columns in all but their values under the column (marked in green box below).

    This is the detail view of the interactive report. You can use it to create a view of the data returned by the report with a different structure. This is described as "detail view" as all of the columns in the report query can be referenced in the model of retail #COLUMN_VALUE # the substitution syntax, including the columns where the attribute of text to display as column has the value Hidden that do not appear elsewhere in the report.

    Below is the setting of the user interface for the region of its report.  Please specify.

    These settings control positioning and appearance of full interactive report region, not the content of the report layout.

  • The part of report of a report region table setting to fill the region

    I need to make them with any part of the report, the section of report fills the width of the region, the column spacing all also in the entire region.

    The screenshot below shows the report occupies only a small part of the region. I need the region to this width to maintain the page layout consistency between pages.

    I can change the CSS so that it affects

    . Report-standard-alternatingrowcolors {}

    Width: 750px;

    }

    And then the same set the columns to specific width, but this application is displayed on a number of different resolutions, thereby affecting the specific widths is not all good.

    If I value percentage widths it does not.

    Any ideas?

    Screen Shot 2014-10-24 at 10.04.52.png

    The following screenshot shows what I want to achieve, even if it made specific widths specifying, in px, which means that it is not scalable for different resolutions.

    Screen Shot 2014-10-24 at 10.08.42.png

    The external table that contains the table of standard report also must be set to 100% width. Change the CSS rule:

    table[id^="report_"],
    .report-standard {
      width: 100%;
    }
    

Maybe you are looking for