Page item rendering location relative to report?  (APEX 2.2.0)

Hi all,
What controls where the page items in a region containing a report will be rendered? I have two regions that (I thought) I set up identically, but one has the items above the report and the other below.
The only difference between them is that the one with the items above is on a non-zero page, whereas the one with the items below is on page zero.
(I cannot post my app to a public area as an example.)
Am I missing something?
Thanks!
Don

Hi all,
I apologize if I was vague or confusing. It's been a long Friday and it is continuing to be a long Friday = ) Louis-Guillaume, I tried changing one of the regions, and something very odd happened! So here's exactly what I do:
I create a region in page 0, "My Page Zero Region". It is an SQL report region. I then add "Item One" and "Item Two" to that region. The items are in the same region as the report table. I put it at the "Page Template Body (3)" display point. I then get this:
My Page Zero Region
Item One : [             ] (this is an item.)
Item Two : [             ] (this is an item.)
|            |  the table |         |
|            |            |         |
|            |            |         |
---------------------------------The items are displayed above the table. I then switch the display point to "Page Template Body (2)". The region is then rendered differently.
My Page Zero Region
|            |  the table |         |
|            |            |         |
|            |            |         |
Item One : [             ] (this is an item.)
Item Two : [             ] (this is an item.)It seems that APEX treats the entire region differently depending on which display point it is in. Is that the correct functionality, or should I investigate further?

Similar Messages

  • Page Items from parent related table (readonly - only display)

    Hi,
    is this possible in APEX 5.0?
    DB Strucktur: Customer (Fields: Name, Address, Postal Code ...) 1:n Contacts (Firstname, Lastname, customer_id, ...)
    I need a Form (Contact):
    Firstname:
    Lastname:
    Address:
    Readonly Items from Customer Table (only display):
    Customer Name:
    Cistomer Address Items:
    Thanks for help!
    Alex

    Here's what you could do:
    - First create a Report with Form on your Contact Table
    - Next create a new region called customer info
    - Drag the different display only items for the columns in the Customer table into the new region
    - Finally create a Process Before header which does
         select cust_name, cust_address
           into :P1_CUST_NAME, :P1_CUST_ADDRESS
          from customer_table
       where id = :P1_CUSTOMER_ID;
    - Put a condition on the process to only fire when you have a :P1_CUSTOMER_ID
    Note: your table, columns might be a bit different than in the above example.
    Hope that helps,
    Dimitri
    -- https://www.apexrnd.be
    -- http://dgielis.blogspot.com

  • Report cells as page items

    Hello all,
    I'm trying to make an updateable report w/o using HTML DB's wizards and was wondering if report cells could somehow be stored in page items. I know that report cells are referenced using #COL01#, #COL02#, #COL03#, etc. within the report region. Am I able to reference these columns outside of the report region and possibly store them in page items? I know that I can do so by using column links inside of the report and assigning the values to items through the url. I was wondering if I can reference the report column values in some other way. Thanks for any input.
    - Kenny R.

    hey kenny--
    if you're building your own tabular forms using htmldb, you should probably take a look at...
    http://otn.oracle.com/products/database/htmldb/howtos/tabular_form.html
    ...when you get a chance. re referencing those tabular form cell values outside of your tabluar form region, i'd consider these two approaches:
    1) if acceptable, you could store those tab form values to htmldb items when the page is submitted. the how-to above is very clear about how to do that.
    2) if you need those tab form values in session state before that form is submitted, consider selecting your form data into a Collection and running your tabular form query off that collection. the how-to above shows you how to use a collection for your tablular form (they're using it for validations, but the concept's still the same).
    hope this helps,
    raj

  • How to set the default value for page item in report

    Hi Gurus
    I currently i have company name as page item in one of my report screen ,but it is displaying the value for company name in its drop down column ,but i want to make it "*ALL* as default after the query result ",this is user requirement ,please share ,how can i make it ,is it possible ??,thanx in advance
    thanx
    Pratap

    Hi,
    I don't think this is possible. You can of course use a parameter to select the page item and default the parameter but then the user will have to rerun the report to see other pages items.
    Rod West

  • Problem in displaying selected page items in the title in Graph

    Hi There;
    I have a problem in displaying selected value of named page item in the graphs.
    Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
    But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
    Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
    Thanks in Advance,
    Regards,
    Nidhi Jethoo

    Hi Michael;
    Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
    But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
    I would log a SR and see what they say.
    Thanks again,
    Nidhi

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • Enhancement Request : Subscriptions where IR uses Page Items.

    I'd like to request an Enhancement.
    I'd like report subscriptions to keep track of the current values of any page items in the sql statement when the subscription is stored.
    Currently any Interactive Reports that use page items run fine interactively, but subscriptions fail due to the page items having no values.

    Oh ok I see what you're trying to do but that's not what I meant.
    1. If your IR filters based on a page item and is a subscribable report, you have no choice but to work a NVL (or some other means) in there in order to make a true condition when the page item is null or nonexistent in order for the report to work at all during subscription.
    2. If you never want the user to be able to query all rows in the application (that is, force them to enter something in the page item), you'll need a not-null validation on the page so when they submit their page item change that it validates not-null.
    3. Use the filter in the IR (but NOT referencing a page item) such that the user can save/subscribe to an IR with the desired filter such that they get the properly-filtered named IR.
    Does that make sense?

  • Error during rendering of page item P3_DEPARTMENT_ID - Apex 4.2 2+Day Guide

    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID. ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    the code of the book 2+Day developer which I used in my edit report region source :
    SELECT e.EMPLOYEE_ID,
    e.FIRST_NAME,
    e.LAST_NAME,
    e.HIRE_DATE,
    e.SALARY,
    e.COMMISSION_PCT,
    calc_remuneration(salary, commission_pct) REMUNERATION,
    e.DEPARTMENT_ID,
    d.DEPARTMENT_NAME
    FROM OEHR_EMPLOYEES e,
    OEHR_DEPARTMENTS d
    WHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID(+) AND
    (e.DEPARTMENT_ID = :P3_DEPARTMENT_ID or
    (e.DEPARTMENT_ID is null and nvl(:P3_DEPARTMENT_ID,'-1') = '-1'))

    0e342a31-11d2-4cd7-ac7c-802ef455d578 wrote:
    Please update your forum profile with a recognisable username instead of "0e342a31-11d2-4cd7-ac7c-802ef455d578": Video tutorial how to change nickname available
    Always include the information detailed in these guidelines when posting a question: how to get answers from forum
    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    When you replace what code? Where? How? Provide the exact steps necessary to reproduce the problem.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID.
    ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    The error page indicates that the error occurred in rendering the P3_DEPARTMENT_ID page item. What are the Source and Default settings for this item?

  • Reports - "Derive from Page Item" Missing in APEX 3.0.1?

    I installed a patch 3.0.1.
    I can't find on the list of formats in report queries option:
    "Derive from Page Item"
    But, in help window for the list of formats I can read:
    "The format attribute specifies the download format for the report query.
    Report queries can be downloaded as PDF documents, Word documents (RTF
    based), Excel Spreadsheets
    (HTML based) or as HTML files.
    To determine the download format at runtime of the application, choose
    "Derive from Page Item"."
    Where is "Derive from Page Item" option?
    Best Regards
    Daniel Kozlowski

    Option "Derive from page Item" is still available in 2 places:
    1. "Shared Components -> Report Queries -> Create Report Query" on last
    "Create Shared Query" window.
    I can choose it from "Output Format" list.
    2. In report properties on "Print Attributes" tab.
    I can also choose this option, from "Output Format" list.
    Of course, above options still doesn't work correctly.

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Report row highlight based on a page item

    Is there a way to highlight a report row based on the value of a page item?
    In my case I have a report where the application user requests data in a detail report using a column link in the master report. This loads an id number from my report into a page item (say :P8_ID for example). If this item is null, I want the report rows to all render normally (nothing is selected or the detail report has been closed). If there is an id in that field then I want the row containing the information about that item to highlight (its column link has been clicked selected it to bring up a detail report).
    At first glance, this looks similar to Vikas solution (Change the Report row color when clicked but I am trying to make the connection between what has already been done and where I need to be.

    After looking back, I discovered my value was being set after the report rendered. When I re-organized my calculations and the rest, it worked.

  • Set Page item value when paging through an sql query report

    I have a report that includes a checkbox to indicate which rows a process is to be run on. I have a "Select All" button that sets a value to check all boxes in the report, and deselect button to turn that feature off. The page only renders one of the buttons at a time depanding on the value. If the "Select All" is turned on, I would like to set the value to "OFF" when a user goes to another page of the report.
    For example:
    A user enters the page and the report is rendered. The rows returned are greater than what is displayed. The paging options for the report are shown. 1-15 16-30 etc. It is currently showing the first 15 rows of the report.
    The user clicks the select all button, and all checkboxes are now checked. Currently it will remain this way until the deselect button is clicked.
    When the user clicks the report paging, I would like to set the value of the Select All item to off.
    Does anyone know how to do this at this point?

    Hi,
    Try Scott's suggestion in Re: How to get query from region "PL/SQL function body returning string query"?
    Andy

  • Print page items on Interactive Report

    Hello,
    I have an interactive report showing employees detail for the department number passed in as parameter.
    On interactive report, I have page items showing department name and location on the top under report title.
    When I print or export the report, it just exports the data rows, not the report title and department name and location.
    Is it possible to include the report title, department name and location as well in the export file?
    Thanks.

    For printing in specific layouts I use Anton Sheffer As_PDF package. Maybe it can help you out.
    I tell about it in dutch: http://mraoul.com/?p=86
    or you can go to antons page: http://technology.amis.nl/blog/8650/as_pdf-generating-a-pdf-document-with-some-plsql

  • Conditional Formatting for Report Rows based on page item

    Hi,
    I have a report and a page item on a page. I would like to somehow highlight any report rows where a particular column in the report (e.g. "Customer_ID") matches the page item (e.g. P2_CUSTOMER_ID).
    Any idea how to do this?
    Thanks,
    Forrest

    You can also achieve this by jquery ( Please note - I just started learning jquery , so my way of doing it may not be a good way of doing it)
    1. Download jquery from [http://www.jquery.com]
    2. In Page Header enter
      <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery.js"></script>
       <script type="text/javascript">
       $(document).ready(function(){
          //t20data is the class for table cells in theme 20 .. change it as per you theme - right click view source and find it
             x = $('.t20data').length;
         //i=7 is the column index of customer id
        // i = i + 10 , 10 is the number of column
           for( i = 7 ; i < x ; i=i + 10)
                if($('.t20data').eq( i ).html() == $x('P2_CUSTOMER_ID').value)
                    // i-7 is the first cell of row and i+2 is the last cell of row 
                    for( c = i - 7 ; c <= i + 2 ; c++)
                         $('.t20data').eq( c ).css("background","red");  
    </script>[ E X A M P L E | http://apex.oracle.com/pls/otn/f?p=62171:1]
    Regards,
    Shijesh

  • Reset data picker page item by selection page item in Apex

    Hi,
    Need to create a report based on date ranges and for this created a interactive report and two page item datepicker fields P15_fromdate and p15_todate. Report works fine with this criteria.But user wants one more field quarter(P15_quarter), When they select the quarter the range values has to get reset and as to get applied to report.
    Issue here is unable to find a way to set the page range item values based on the quarter field selection
    Need help how to reset the page item fields.
    Thanks in advance.
    Thanks,
    Sandeep

    Ligon,
    You're right to think this is pretty laborious stuff. A co-worker wanted to do the same, to make sure users didn't lose a change when clicking Cancel. I suggested he look at calculating the query checksum before and after, which he tried. But it got very cumbersome very fast and he ended up dropping the idea. He's fairly new with Apex, but he's also a quick study, so it's not like he's a novice coder.
    I don't have his implementation details anymore to even share with you.
    Sorry I couldn't be more help.
    Good luck,
    Stew

Maybe you are looking for

  • How can i send email from my ipad and have it go to my home computer

    When recently travelling I tried to send emails home but often they came back into my ipad inbox but never went to the home computer. How can I get them to load at home?

  • BB Bold 9900 APP ERROR 200.....HELP!!!

    I have a BB Bold 9900 and has the white screen with App Error 200 Reset screen, I have tried taking the battery out and plugging it into computer to reset it but comes up with the update screen and then says repair and then says No BB device updates

  • (401) unauthorized error when accessing web service....

    Hello people! Can someone could possibly help me out. I'm try to consume a web service in .net technology. This was supposedly working already but lately I'm already given a (401) unauthorized error when consuming the web services. Here the code that

  • Unable to set the column values in Standard alv settings

    Hi, In the ALV displays settings  screen, I can set any number as "number of columns displayed", press "apply"  it remains 8 columns that are visible. Prevousely its working fine, last two days back i added  two fields in that AlV table. after that i

  • Midp 2.0 support

    Does only the newest devices support midp 2.0? Or can I run some midp 2.0 code on any device, like motorola i85s? The nokia 7650 does support midp 2.0? Thnks Ricardo