Report - row template or custom?  (pics!)

Hi all. I have a report that is using a column report template (CURRENT).
I would like to know what you think is the best way to change the report to look like the FUTURE picture (edited in mspaint). A row template? A custom template? A pl/sql procedure?
CURRENT
http://farm4.static.flickr.com/3097/2590550193_39bb7885eb_o.png
FUTURE
http://farm4.static.flickr.com/3043/2591385584_5d5365c0c0_o.png
Thanks in advance for your ideas! ~Darby
apex ver: 2.0 (don't ask!)
db ver 10g

OK I figured out how to create a page template, and I'm almost there! I'm pleasantly surprised at how close I am to the mockup I created earlier (FUTURE)
STATUS
http://farm4.static.flickr.com/3050/2591089881_55d5ca7ec3_o.png
thanks to this example:
http://apex.oracle.com/pls/otn/f?p=11933:9:2556840832082449::NO:::
Now I need to figure out
-- some formatting issues (weird borders)
-- how to get titles while NOT getting subtotal AND total
-- how to get total once and put it below the combined 3 regions.
By the way this is a printer-friendly-based page, so no form load. I can not use a page with a form because we are using File\Send\Page byEmail (IE). When there is a form, Outlook shows the hidden fields.
cool code to move a region to another spot on the page.  HELP-doesn't email
~Darby

Similar Messages

  • Custom report row template

    Few questions when using a custom report row template. Followup to the discussion Report Row Template: Column condition
    1. The row template allows full control how the entire row is rendered. I can see this being used when the report query returns a single row and we need to format it in a very specific way. But when the query returns multiple rows, how is the specified Row Template used? i.e the first row is "consumed" and rendered as per the template. If the same process is repeated for subsequent rows, how can we control whether successive rows are rendered across the page (left to right) or down the page (top to bottom)?
    2. When a custom row template is used to render a tabular form, the hidden columns (marked Edit=Y, Show=N on Report Attributes) are present in the markup even when they are not specified in the row template! i.e. the MRU process works. Of course, this is a good thing but I was curious to know what exactly controls this, what part of the report template controls where the hidden form elements are placed?
    3. Any number/date formatting specified declaratively on the Column Attributes page appears to be taken into account when column values are substituted in the template using #COL# notation. But all the other Column Attributes are ignored (alignment, sum, show, link, etc). Is there a way to use the Link attribute to declaratively specify the link so the value of the column #COL# as seen by the report template includes the A tag?
    Thanks

    Comments? Thanks

  • Report Row Template - header

    Hi
    I have made a custom "Report Row Template". I have write the "header" direct in the html code. Is that a problem if i want to translate the application? Is there a way how to use the headers from the apex?
    Best Regrads
    Jesper Vels

    Hello Jesper,
    OK, I can see now what you are trying to do. Unfortunately, the only similar example I'm familiar with - http://apex.oracle.com/pls/otn/f?p=11933:108 – Is also using hard coded text for the headings.
    I can show you how to get to these headings, and how to use them on your template, but I'm afraid this is not a generic solution, as I couldn't find an active substitution string for the column headers.
    As there isn't any variables to hold these column names, we need to define our own. You can do that using an application items or hidden page items. Let's say I defined three hidden items on my report page: P1_HD1, P1_HD2, P1_HD3. Each item will be defined with Source Type of SQL Query, and Source Use of "Only when …". The Source Value for the first item will be as follow:
    select  heading
    from  FLOWS_020200.APEX_APPLICATION_PAGE_RPT_COLS
    where  APPLICATION_ID=:APP_ID and
           PAGE_ID=:APP_PAGE_ID and
           DISPLAY_SEQUENCE = 1;The DISPLAY_SEQUENCE should change according to the sequence of the column.
    If you choose to use an application items, you'll need to use a before header computation on your report page, with the same query, to populate the application items.
    In order to use these items in the report template, we need to use the "&P1_HD1." notation. You can have something like this, for the first header in your report query:
    <tr><td>&P1_HD1.: </td><td>#1#</td>   . . .Hope this helps,
    Arie.

  • Report Row Template: Column condition

    In a classic report using a Generic Column template, one can use the Column Condition attribute to conditionally render the column.
    But when using a named column (row template), even though the Builder allows one to specify this condition, it doesn't appear to be used.
    So how would one implement conditional column display in these templates?
    Thanks

    Hi,
    That's actually easier. See: [http://apex.oracle.com/pls/otn/f?p=267:60]
    The SQL for both reports is:
    SELECT EMPNO, ENAME, NVL(SAL,0) SAL, NVL(COMM,0) COMM
    FROM EMP
    ORDER BY EMPNOThe SAL and COMM columns have been formatted using:
    999G999G999G999G990D00For the Row Template, the Row Template 1 setting contains an empty space (you have to have something in there otherwise Apex adds back in a default row containing five cells!). The condition for this is:
    TO_NUMBER('#COMM#','999G999G999G999G990D00') < 100The template will see the data as a string, so we use the same number format to convert that string back into a number and compare this to 100. If we didn't use formatting on the numbers and we are sure that every row contained a number (hence the use of NVL()), then you could use:
    #COMM# < 100Row Template 2 contains the format for the rows that need displaying:
    &lt;tr&gt;
    &lt;td class="t18Data"&gt;#1#&lt;/td&gt;
    &lt;td class="t18Data"&gt;#2#&lt;/td&gt;
    &lt;td class="t18Data" style="text-align:right"&gt;#3#&lt;/td&gt;
    &lt;td class="t18Data" style="text-align:right"&gt;#4#&lt;/td&gt;
    &lt;/tr&gt;and is unconditional.
    The only other settings on the Row Template are the Before Rows:
    &lt;table class="t18Standard" style="border-collapse:collapse; border:1px solid black;"&gt;
    &lt;tr&gt;
      &lt;th class="t18ReportHeader"&gt;Empno&lt;/th&gt;
      &lt;th class="t18ReportHeader"&gt;Ename&lt;/th&gt;
      &lt;th class="t18ReportHeader" style="text-align:right"&gt;Sal&lt;/th&gt;
      &lt;th class="t18ReportHeader" style="text-align:right"&gt;Comm&lt;/th&gt;
    &lt;/tr&gt;and After Rows:
    &lt;/table&gt;Of course, you will note that the record counters at the bottom still show the number of records in both reports - as the SQL still outputs the same data, this doesn't change.
    Andy

  • Report Template -  NULL in Row Template Condition

    I just found a workaround, but,
    in a report template, in a Row Template # Condition, based on a PL/SQL expression, the condition always fails if/when #COLUMN_VALUE# was NULL.
    I worked around this with a NVL in the query - but, is there a better way?
    I want the column highlighted when the value is null - to point out where values need to be entered - i.e. when the record needs to be updated.
    THanks - Karen

    Ok, I have since found out that the setting to make a report template
    available in the Based on > Visualization templates is in the
    'package.xml' file for each report. The value that needs to be changed
    is <IsQueryParameterized>0</IsQueryParameterized> and change the 0 to 1.
    kmcooke1
    kmcooke1's Profile: https://forums.netiq.com/member.php?userid=5806
    View this thread: https://forums.netiq.com/showthread.php?t=49091

  • Template for Customized Reports

    Where will I find templates for customizing forms and reports in OraApps11i.

    Naren,
          Another option is, if you want to FORCE global stylesheet for ALL users.  You can update the WebIDefaultStyleSheet.css located in  \SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\images\ folder.
    Regards,
    Ajay

  • Report Row Height and Column Width

    Hi,
    I have a cell in a report (a description column) that causes the row height to become very large (when there is a lot of text in the description). I can make the column wider on the report attributes page, but there doesn't seem to be any place to influence the maximum height of a row on a report, short of modifying the template.
    Adding style attributes (e.g. max-height:30px) to an element only affects the <span> that the element resides in, not the table cell or row.
    Displaying the column as a text area is a useful workaround. The downside is the border and scroll bars do waste a lot of screen real estate. Does there exist some other way of setting a limit on the height and/or width of a report, report column or report row?
    Oh, and another question- how do make line breaks in this forum? There's no support for <BR> or [br].

    Please reply to this thread, my customer is facing the same issue. He does not have issue with the excel and the pdf output but in the rtf output the table heght increases to accomadate the data.He want it to bevave in the same way as the pdf do.
    Regards,
    Ajay

  • Substitution String in Row Template order dependant

    Hi Folks,
    This questions is related to an earlier Complex Detail Report Layout: Can it be done? about building a complex row template (thanks for your help, Vikas!).<br><br>
    Having built the row template (Named Columns) and tested it in a separate application, I have been preparing to incorporate it into the target application. (Here's a screen shot of the work in progress.) I decided to see if I could use column aliases with the substitution strings and so added an alias to the query for the report.<br><br>
    Strange values appeared (like a "Y" for a Project Name) and initially I thought the aliases wouldn't work, so I backed the change out. However, it was now quite apparent that the substitution strings were not taking their values from the column names, as I expected. I was able to put the values in the correct place by modifying the order of the columns selected in the query.<br><br>
    Am I misunderstanding? Shouldn't the order of the columns in the select statement be irrelevant when named columns are used? <br><br>
    Since the order in the query is NOT the order displayed in the template, and I have nearly 30 fields, (many of which are dates, and I couldn't possible guess which is which if the substitution doesn't work properly), it seems important to understand how to ensure the proper values appear in the report.<br><br>
    Many thanks for your help,<br><br>
    Petie

    I take it back. This is whacked. Please take a look at the picture (http://tinypic.com/view/?pic=nygyu0)
    OK, I had a select statement:
    select ps.project_name, ps.project_manager,  ps.gts_dependant, ps.gxp_relevant from project_status ps, eprs_program p
    where
    ps.program_id = p.id and
    p.program_number = :P6_PROGRAM_NUMBERThis populated the fields #PROJECT_NAME#, #PROJECT_MANAGER#, etc. properly.
    I even switched the order around and put the ps.project_manager ahead of the ps.project_name and template still worked.
    I restored the order and checked again. All is good.
    I changed the query and added an alias like so:
    select ps.project_name as "PROJ_NAME", ps.project_manager,  ps.gts_dependant, ps.gxp_relevant from ...The report showed the substitution string "#PROJECT_NAME#" (as expected, because the column was now aliased.) So this is good.
    I went to the row template definition and changed the substitution string #PROJECT_NAME# to #PROJ_NAME# to match the query -- and the substitution strings broke again!
    The report template now behaves as described earlier; being position dependant. Now I suspect that this is a bug, and not something caused by my mucking around.
    I would greatly appreciate your thoughts on the matter and potential workaround. At this point, I will likely delete the region and try creating a new region. I would hate to loose the whole page, the top part was a lot of effort. <sigh>
    Thanks,
    Petie

  • Displaying an interactive report row using two lines

    Is there a way to take a report row from an interactive report that has too many columns for one display row and display using 2 rows? This would minimize the amount of scrolling the user would then need to do.
    Thanks in advance!

    Hi,
    I dont think we can show a single row as two lines in an interactive report but if you use a classic report instead of interactive then you can do that by creating your own custom report template from scratch and selecting templete type as Named Column (row template) and show the row in what ever way you need...any way if you find any solution for interactive report just post your solution here which will help me too
    Thanks,
    Mahesh

  • Bug?: Tabular Form function "addRow" can't handle multi-line Row Templates

    Hi all,
    i created a custom Report Template (Named Column Row Template) which creates 2 lines per Record (which in fact is 2 rows in a HTML table).
    In the APEX function initTabForm (apex_4_0.js) the sample row (f01_0000) is read and stored in gTabFormInitRow
    This is done by using a jQuery Selector like this: jQuery('#init_row_'+pRegionID) which returns only the first row of my multiline record.
    Is this behaviour intended or is it a bug? Or do i have to change my HTML structure?
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

    Hi Marc,
    thanks for the quick reply.
    I was afraid you would say it is intended behavior :-)
    A table per row has the disadvantage of loosing the automatic column width, i would have to set the column width to a fixed value to maintain a nice look.
    Well, thanks for the moment, i'll try to find a general solution and (if i succeed) get back to you.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • Regarding upgrade of web report\web templates functionalites BW 3.5-BI 7.0

    hi all,
             I m working on a Upgrade study from BW 3.5 to BI 7.0 for Web Templates,web items and java scripts.
    Below is the scenario of the client system:
    New web templates are created from the 6 master web templates available for publishing to a custom Portal (created using BSP and hosted on the WAS). TOOLBAR and FOOTER are custom web templates used in all Master Templates and contain various JavaScript functions and footer code respectively.
    TOOLBAR provides the Toolbar, header and buttons functionalities in the Master Templates via the contained Javascript functions. FOOTER displays the date and time of issue as well the logged in user.
    FOOTER1 and FOOTER2 are web items derived from FOOTER web template. They have different set of web item properties and are used to create web templates used through the custom Portal.
    It is observed from BW Tables that out of 100 unique Web Templates available in the system, 90 are using TOOLBAR template and 95 are using FOOTER template.
    No external Javascript .js files are used in the Web templates. Most of the Javascript functionality is contained in TOOLBAR and no other custom javascript in master templates. However, there are some derived web templates where custom javascript is contained.
    Following is the process to create custom Web Templates in development server that are eventually transported to QA and Production:
    1)     The appropriate master template is identified and saved with new name in developer role.
    2)     Dataprovider is added to corresponding web items.
    3)     From the library, properties are transferred from master template to the custom template.
    4)     Report title is added in HTML tab.
    5)     No changes are needed in the Web Templates Properties except change of value in  “Show Jump Target in” field to the portal Frame ConPortal or _self in case RRI is to be used.
    6)     Some properties like Title, Width in Pixel, Affected Data Provider, etc. needs to be adjusted. Changes can be done to web items seen in Overview tab except the FOOTER and TOOLBAR web items. These web items are saved as reusable components in Library.
    7)     After all the changes the web template created is transported from development server.
    To summarize, all master data for creation of web templates like reusable master templates, web items in library, web templates containing Javascript code are stored in dev. server. Custom web templates created from these are transported.
    I want to validate the sequence of migration as below:
    Following sequence has to be followed for the Web Templates and Queries Migration in development BI 7.0 Server:
    1)     Migrate the Individual BEx Queries first and perform functional testing.
    2)     Migrate the TOOLBAR template manually (create as new in BI 7.0 Toolset) and FOOTER template automatically (using Migration Tool).
    3)     Manually migrate the JavaScript code in TOOLBAR. Please refer to section ..for more details.
    4)     Migrate the library of reusable web items, if any.
          (What to do if web item is custom or is not supported in BI 7.0)
    5)     Migrate the Master Web Templates manually (create as new in BI 7.0 Toolset) and automatically (wherever possible) and perform functional testing.
    6)     Migrate the custom web templates automatically (wherever possible) and manually, if automatic migration is not possible. Perform functional testing and data provider binding.
    7)     Perform jump target binding wherever applicable.
    8)     Transport custom templates, TOOLBAR and FOOTER to QA and Production subsequently.
    Also i have the following questions:
    1. How to migrate functionalities accessed thru web templates like jump queries, general navigation blocks with filter, table interface, and are data providers automatically linked to web items or have to be done manually post migration.
    2. Do we need to migrate the library of reusable web items also.
    3. After migrating the master  web templates and javascript containing templates to BI 7.0, can we migrate automatically the custom webtemplates derived from master templates and containing the custom javascript that is now avaialbe in BI 7.0, will they pick up the custom code automatically.
    thanks in advance
    Regards
    praveen

    No resolution found

  • Report row with detail (AJAX)

    Hi,
    In Carl's report row with detail (AJAX) demo, is there any way to show all detail row by default when the page is loaded?
    http://apex.oracle.com/pls/otn/f?p=11933:13
    Thanks.
    Andy

    Hi Andy,
    In Carl's example, the "details" content seems to be from a table that has a one-to-one relationship with the main table. If this is the case, you would probably find it easier to use a "Named Column (row template)" type of report template and lay out the report as you need it rather than use Ajax
    Otherwise, I'm sure it would be possible to loop through a report and make a series of Ajax calls to retrieve the details should there be multiple records required.
    Andy

  • Report row color change based on condition

    I have follow this forum steps Re: Color Row In Report
    Column Template 1
    <td #ALIGNMENT# class="t1data" style="background-color:#ADD8E6;">#COLUMN_VALUE#</td>
    PL/SQL expression condition
    '#2#' = 'BOOKED'
    Column Template 2
    <td #ALIGNMENT# class="t2data" style="background-color:#FFE87C;">#COLUMN_VALUE#</td>
    PL/SQL expression condition
    '#2#' = 'ENTERED'
    http://img29.imageshack.us/img29/2792/apexcolor.png
    This does color change but for some rows the colors are highlighted wrong and when i mouse over the rows , it changes to wrong color.

    Hi,
    t1Data and t2Data sound like standard theme css class names.
    In my example, the colouring is done by the style attribute on the TD tag. For "normal" rows:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data"&gt;#COLUMN_VALUE#&lt;/td&gt;for highlighted rows:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red;"&gt;#COLUMN_VALUE#&lt;/td&gt;Have you defined "t1Data" and "t2Data" in STYLE tags on your page?
    Andy

  • How can I create multiple selection check boxes in a report row?

    Hello,
    I'd like to know how a multiple selection checkbox can be created in report rows. In brief, I need to create a questionnaire template and each one of the questions will have multple options checkboxes, that means that the user can select more than one of the answers.
    Should I use apex_item.checkbox ?. I have no clue here.
    Please advice.
    Thank you
    Edited by: user9982480 on Jul 23, 2012 10:58 AM

    Hi,
    This might save your effort
    http://www.apexsolution.de/questionnaire/
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • 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

Maybe you are looking for

  • HP LASERJET M602 (CE993A)

    does my laserjet m602 (CE993A)have an audible warning when the paper tray is empty?

  • SQL within PL/SQL block

    This question sound funny. I just want to make sure this rule. In Oracle database before 10g, we can only use DML and transaction control code within PL/SQL block. We can not use DDL or other control languages within PL/SQL block. How about 10g? can

  • Adding of accounts using excel linked to admin console account dimension

    Hi Experts Im about to do a little test Here is the scenario I Have many administrator user in my Security access all of this user have the power to add and process accounts and fill up all the specified properties my problem is i want them to add ne

  • Button Redirect to New Tab Window Question

    I would like to have a button that when clicked once, redirects the page to a URL in a new tab. The URL is based on a sql query from a dynamic action linked to the button. Way 1: I have tried to use redirect_url() in the dynamic action itself. <pre>

  • Changing Report Template Dinamicaly

    Hello everybody, I am starting in APEX and I need to change "Report Template" attribute in a classic report programmaticaly. I need to generate a classic report for screen and in CSV format, but obviously I dont want to make 2 reports. Thanks a lot A