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

Similar Messages

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

  • Dynamic alignment of report column and page item value

    Hi friends,
    I have an interactive report which contains the columns like
    <li>empno
    <li>Name
    In the above i have "empno" with a column alignment of left and a "Name" with a column alignment of left.
    Whether it is possible to override the data alignment that we set in the report according to the value of the application item like
    If my application item value is US, then i need the column alignment of both the column"empno" and "Name" to be left and if my application item value is AR, then i need the column alignment of both the column "empno" and "Name" to be right. Whether is it possible to achieve the dynamic alignment to the report data of both the columns "empno" and "Name" according to the application page item value.
    And also in the case of page item i have a page item with a name P1_NAME in which it has a Element Horizontal/Vertical alignment to left.
    I need that element alignment of the page item to behave dynamically according to the application page item, like if the application page item is US then the element alignment of the page item has to be left and if the application page item is AR then the element alignment of the page item has to be right.
    Whether is it possible to achieve my above two scenario's friends. Kindly help me with this.
    Thanks in advance.
    Brgds,
    Mini

    Kees,
    Your approach is excellent and brilliant:-)
    I tried with your steps and i can achieve those alignment in both ways like you said(either on page load/through DA).
    But im going with the DA way. I have certain query regarding this kees.
    <li>Suppose if the report, is classic whether i can go with the same approach that i have achieved alignment with the IR report.
    <li>Currently through the DA way, i used the page item in the condition. Is it possible to use the application item instead of page item in DA. Because im going to use the application item FSP_LANGUAGE_PREFERENCE for getting the code either 'AR' or 'US'.
    <li>Finally i need this kind of restriction for the page item also, consider like i have a page item P1_X with an Element Vertical/Horizontal alignment as left. Now i need to change that alignment to right according to the application page item value, hence i can give application item condition for the page item like below
    PL-SQL EXPRESSION: :FSP_LANGUAGE_PREFERENCE = 'AR'
    i need the element alignment of the page item to behave dynamically suppose if the application item value is AR then the element alignment of that page item has to be right if the application item value is US then the element alignment of that page item has to be left, irrespective of the page item Element Vertical/Horizontal alignment that was set to it.
    Thanks for your kind help
    Brgds,
    Mini

  • Recalculating fields in an updateable report when a page item changes

    Hi,
    On the one page I have a header section where the user enters the total number of items (eg. 50).
    I then have an updateable report on the same page where one of the columns is '% of the total items' and the last column of the table is calculated using javascript ('% of the total items' * 'total number of items').
    eg. the page could look like this :
    Total Number of Items : 200
    Item Type % of Total Items Calculated Field
    Toys 25% 50
    Clothes 75% 150
    When the value of the 'Total Number of Items' field is changed, I need to recalculate all the values for the last column.
    I've tried to do this using javascript based on what I could find on the forum, but when I change the value in the header section, the last column of all the table rows are not being calculated.
    Any assistance you could provide would be greatly appreciated.
    I have an onchange trigger on the total number of items field
    onChange="ReCalcProds()";
    and the javascript function looks as follows :
    function ReCalcProds()
    var answer;
    var amount1;
    var amount2;
    var tds = document.getElementsByTagName('td');
    for (var k=0; k<tds.length; k++) {
    if (tds[k].headers=="ACTIVITY_CODE") {
    var inputObjs= tds[k].getElementsByTagName('input');
    if(inputObjs.length>0) {
    for (var j=0;document.inputObjs.length; j++) {
    amount1 = parseFloat(document.getElementById('P9_TOTAL_PRODUCTIONS').value);
    amount2 = parseFloat(document.getElementById('f08_'+j).value);
    if (isNaN(amount1)){amount1 = 0};
    if (isNaN(amount2)){amount2 = 0};
    answer = amount1 * (amount2/100);
    document.getElementById('f11_'+j).value = answer;
    Many Thanks.

    anonymous,
    Check out another thread that had a similar topic. It may help you work through your issue.
    Re: Tabular Form - Dynamic Default Value
    Todd

  • 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

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

  • 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

  • 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

  • Copy value from report to page item

    Hi all,
    Does anyone knows how to copy an item value from a report to a page item, each time the report runs??
    thanks

    Hi,
    Take a look at this thread. column link - call java script & assign current report column value to item
    Regards,

  • Report: passing values to item page

    on Apex 3.2
    Hi,
    I need help.
    Does anyone knows a way to pass values from a report to a page item?
    This is what i want: when i run a report i want to fill a page item with the value from an item report.
    Thanks,

    Hi Austin,
    Thank you for your reply.
    I've writen a query that gives me the accounting movements.
    In this query the user can pass the rownum because there are about 1million records in the partitioned table.
    But the diference between credit and debit must considered all the movements that are not closed.
    I'm using analitics functions to do that, so for each line the value is already calculated.
    With one report region: If i group and break the report it takes about 13 seconds to display the information.
    If two report regions: One for the movements other for the "Debit: Credit: and Total:". It takes about 6 seconds to display the info.
    Its more fast, but i have to run the query twice. The idea is to run only once.
    The values that i want to pass from report to page items, Debit: Credit: and Total:.
    Is there a way?
    Thanks,

  • Include page items along with report in CSV export file

    I have a classic report and several page items asa apart of a classic report region. They represent various calculations based on the report.
    When I export the report it does not include page items in it. Is it possible to include page items as a paart of the report export?
    Thanks,
    Gagi

    GagiVel wrote:
    I have a classic report and several page items asa apart of a classic report region. They represent various calculations based on the report.
    When I export the report it does not include page items in it. Is it possible to include page items as a paart of the report export?No. Report exports include the rows returned by the report, not the contents of the report region.

  • 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

  • Page Item In all !!

    I want to know if there are some way to know if discoverer execute the report with the page item in <all>?
    My regards.

    Hi user604420
    Discoverer will execute the report regardless of what's in the Page items. Page items are not the same as a condition, in that, regardless of what you select for Page Items, all values will come back. Page Items only change what you see, not what's queried. A condition is the only way to limit what is selected in the query.
    Hope that helps
    Nate

  • 'All' Page Items

    I have a discover report that uses 'Page Items' and summarizes the results. I would like to include an All on my Page Items which would allow me to display all of the page items summarized together. Is this possible in Discover or do I need to use Oracle Reports or Forms?
    John
    null

    in 4i, All is supported for Crosstabs. Pierre
    null

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

Maybe you are looking for

  • BAUP - Where do you get the file from

    We are looking to load in all of the local (country specifc) house bank data into SAP via BAUP. The question I have is does this come from SAP, or do you download it locally. I can see SAP note 132012 seems to indicate you need to download it, but I

  • Offset not working on FiscalYr/Period

    Hi All, In the selection I am using a variable range From-To. If I am running the report for April 2009 in this column I should see data related to March 2009 and for this I set the offset on variable range for fiscalyr/period  to -1. But when I run

  • After the recent update My Firefox has become unresponsive alot.

    I don't know why but now Firefox has become so unresponsive. It particularly happens when I visit Youtube. It almost become impossible to even close it.

  • Documenting command line arguments

    I'm very new to javadoc, and I'm trying to put together a set of guidelines for our developers to follow. One thing I came accross was command line arguments. If a main function is expecting command line arguments, how would this be documented, shoul

  • Automatically add a Database to an Availability Group

    Dears, I need to know if there any way to configure SQL always on to automatically add new Databases to an Availability Group. Ayman Saleh