Multi-columned report

Helllo,
I"m using Application Express 3.1.2.00.02
I want to do a 3 columned report.
I just saw this thread ( from 2005 - that's why I started a new)
Multi-columned report
When I applied the template to my report region, I got the following error:
     ERR-1025 Erreur lors du traitement de l'expression PL/SQL. mod(1,3)0
Can someone tell me why?
thanks,
Roseline
My Query - select ename from emp
The template I created step by step:
Create a report row template....
Workspace>Builder-Application>Shared Components>Themes>Templates...Create
Template Type: Report
Creation Method: From Scratch
Name: One Field - Three Column
Theme: your choice
Template Class: Standard
Template Type: Named Column (row template)
Edit the report Template you just created and modify the following:
Row Template 1: <td width="150">#1#</td>
Row Template Condition: Use Based on PL/SQL Expression
Row Template 1 Expression: mod(#ROWNUM#,3)0
Row Template 2: <td width="150">#1#</td></tr><tr>
Row Template Condition: Use Based on PL/SQL Expression
Row Template 2 Expression: mod(#ROWNUM#,3)=0
Before Rows: <tr>
After Rows: </tr>
Create a query based report region. For my test I used "select ename from emp". Have the report use the row template.
This is just a quick and dirty sample. For better look and feel you'll need to do your own formatting...

Yes, that's it.
However, that I SEE is only 4 name ( every 3 name of the list) on the same line:
ENAME WARD  ENAME BLAKE  ENAME KING  ENAME JAMES
1 - 14   But when I cut and paste from Internet Explorer to a text file,m=, even if I see all the result on the same line, when I past it, it's formated :
ENAME WARD
ENAME BLAKE
  ENAME KING
  ENAME JAMES
   1 - 14  
I have 14 results in my database:
In My SQL
select * from emp
EMPNO     ENAME     JOB     MGR     SAL     DEPTNO
7369     SMITH     CLERK     7902     800     20
7499     ALLEN     SALESMAN     7698     1600     30
7521     WARD     SALESMAN     7698     1250     30
7566     JONES     MANAGER     7839     2975     20
7654     MARTIN     SALESMAN     7698     1250     30
7698     BLAKE     MANAGER     7839     2850     30
7782     CLARK     MANAGER     7839     2450     10
7788     SCOTT     ANALYST     7566     3000     20
7839     KING     PRESIDENT     -      5000     10
7844     TURNER     SALESMAN     7698     1500     30
7876     ADAMS     CLERK     7788     1100     20
7900     JAMES     CLERK     7698     950     30
7902     FORD     ANALYST     7566     3000     60
7934     MILLER     CLERK     7782     1300     10
  What I would like, is having this display:
SMITH     ALLEN     WARD
JONES     MARTIN     BLAKE
CLARK     SCOTT     KING
TURNER     ADAMS     JAMES
FORD     MILLER     
How can I modify the template?
thanks again Roseline

Similar Messages

  • Multi Column Report - printing Across and then Down

    Is there any setup option for a multi column report to go across and then down instead of down & across as a default. The problem I am experiencing is that some where and some how the two columns are not horizontally aligned properly - neither in the
    report view nor in the exported PDF. 
    The added difficulty is the problems created by this misaligned labels while printing on a custom paper that is smaller in size. Though I can setup the custom dimensions and get the desired 4x2 labels on the screen the printing doesn't sit in proper places
    on a preformatted paper.
    Is there any solution(s). Thanks in advance.

    Hi Christal,
    Based on my understanding, you want to make multi columns go across then down in the report.
    For your requirement, on query level, we should add an additional field(DisplayColumn) in the dataset, the field indicates the column in which the corresponding records will display. When designing a report, we add a group in the report, then insert some
    tablixes into the detail row. Within the nested tablix, we specify filter expression based on the value of DisplayColumn field. So that we can decide which data should display on which column. When previewing the report, you can find the report displays like
    newsletter-style. Besides, if we design the report like this, the report can supports all renders. For detail information about how to design the report step by step, please refer to this article:
    Creating Multiple-Column Reports [SSRS] .
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Multi-Column Report Issue

    I am using the Crystal Reports edition bundled with Visual Studio 2005. I have a problem with a multi-column report. It is a two column member directory with family members. It lists the member name, contact info, spouse, and children. I want each family group to stay together, and not break cross a column or a page. Each group may have from 3 to a dozen or so lines.
    The family groups will not break across a page (which is good), but they will break across a column (bad). I have tried many combinations of settings to make this work without success.
    So I wonder if anyone has seen and resolved this problem, or if perhaps it works better in the full version of Crystal.

    In some sub-sections, I have checked 'Suppress Blank Section' checked. In others, I have a suppression formula.
    Each section has only a single field.
    The record set that the report uses has a single row for each person. The sorting and grouping is arranged so that the first record in each family group is the 'main' member. The report displays this person's name, and also shows the sections which include address and phone number info. Subsequent records are for family members (spouse and/or children). For these records, I display the name, but suppress the address and phone sections.
    There is also a detail sub-section used as a group header. This group breaks when the first letter of the last name changes, so it an display a single letter heading ("A"). I had tried this as a regular group header too, but it didn't help.
    I have tried combining all the sections into a single one with each field on a separate line (which means the section can have some blank space), and also combined into a text box. No luck.
    I also have the group itself set to "Keep Together' in the group expert. Doesn't help/

  • Changing details layout for a multi column report

    I have a report that contains linked 2 subreports. The report has a details layout width of 2.5 inches which will create a 3 column report (Format groups with multiple columns is checked) . This works fine for my first subreport as it is small enough to fit that width. However that isn't enough room for my second sub report. Ii need to change the details layout width from 2.5 inches to 3.5 for a 2 column report then back again when that section is finished. Is this possible?

    i believe you can depends on where you place you subreports
    insert a 2nd group under the first, place 2nd report in the new details section
    in the section expert next to the details section check off underlay.
    this will lay them out next to each other but grow independetly

  • Multi Columns Report Switch replacement

    Hi, I have a multiple columns report with 2 fix columns and 10 selectable ones.
    I'm selecting the columns with a checklistbox an it works
    The Header is easy just have to put "=Parameters!Columns.Label(0-10)" as an expression in each columns heading 
    The hard part that I'm not getting is that I'm currently using a Switch statement in the fields values and I want to put it into Custom Code.
    Why Custom Code is that I was ask to insert 15 other fields value in my selection list. I just don't want to be ask to add more fields x 10 columns.
    Here's part of my Switch, I have 10 of them (0-10) for each columns. 
    =Switch(Parameters!Columns.Value(0)="Phone"
    ,Fields!Phone.Value,
      Parameters!Columns.Value(0)="FirstTime"
    ,SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value),
      Parameters!Columns.Value(0)="ProcessTime"
    ,SSRS.Utility.TimeFromMilliSeconds(Fields!ProcessTime.Value),
      Parameters!Columns.Value(0)="TalkTime"
            ,SSRS.Utility.TimeFromMilliSeconds(Fields!TalkTime.Value),
      Parameters!Columns.Value(0)="Transferred"
    ,Fields!Transferred.Value)
    Notes that some of the fields are FIELDS and others are call in function (assembly's) 
    Here's one of my many variation of custom code
    Public Shared Function FixColumns(Byref Colonne as String) As String
    SELECT CASE Colonne
      CASE "Phone" 
        Return "Fields!Phone.Value"
      CASE "FirstTime" 
        Return "SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value)"
    END SELECT
    End Function
    in the value columns fields
    =CODE.Fixcolumns(Parameters!Columns.Label(0))
    I would greatly appreciate any help 
    Denis B.

    Hi Denis B,
    If I understand correctly, you want to use custom code replace Switch expression in your report. Please refer to the following custom code:
    Public Shared Function FixColumns(Byref Colonne as String, A as String, B as String, …… , F AS String) as String
    Select Case Colonne
    Case "Phone"
    Return A
    Case "FirstTime"
    Return B
    Case Else
    Return F
    End Select
    End Function
    Then, we can use following expression to calculate the values:
    =CODE.Fixcolumns(Parameters!Columns.Label(0), Fields!Phone.Value, SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value), …… , Fields!Transferred.Value)
    As per my understanding, Return Statement in a Function, Get, or Operator must return a value, we cannot return an expression via custom code. So, we use this fields or assembly as a variable in the custom code.
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Groups and Multi Column Reports

    I'm using CR for .Net 2003.  I've been running into a problem with the grouping feature, where groups are spanning multiple columns and are not being kept together, but only when spanning b/w columns.  However, the groups aren't being broken between pages.  Anyone else running into this?  Here's my setup:
    Page Header
    Group Header
    Details
    Group Footer
    Page Footer
    The "Group Header", "Details" and "Group Footer" are all set to Keep Together in the Selection Expert.  The layout of the "Details" section has "Format Groups with multiple Columns" checked.  (I only have two columns)  And my group options has the option "Keep Group Together" selected. 
    I was under the impression that if I have "Keep Group Together" it would keep the group together regardless of an end of page, or an end of column...but, maybe I have something misconfigured.
    advTHANKSance for any help!

    Confirm version of Crystal Reports and version of .NET.
    Also, have you applied any Service Packs to your version of CR?
    Ludek

  • Multi-column report that repeats columns

    I don't know if this is possible:
    COL A | COL B | COL C | COL A | COL B | COL C
    1 | 2 | 3 | 4 | 5 | 6
    7 | 8 | 9 | 10 | 11 | 12
    So it would be a report being pulled from a single table, but the columns would be repeated across the page.
    Has anyone ever done something like that?

    Okay, firstly, the column titles can be defined any way you want except that they have to be unique names. This is called "aliasing" the columns.
    select colA as A1, colB as B1, colC as C1, colA as A2, colB as B2, colC as C2
      from my_table
    ...What I am struggling with is the fact that you seem to have 12 distinct values (ostensibly coming from 12 distinct columns), so why would you want to show the same column name repeatedly?
    If you are trying to combine information from several columns but place them in different rows, you can use a union and sort in this manner:
    select A1, B1, C1, A2, B2, C2
    from (
    select ID, 1 as SORT_BY, colA as A1, colB as B1, colC as C1, colD as A2, colE as B2, colF as C2
      from my_table
    union
    select ID, 2 as SORT_BY, colG as A1, colH as B1, colJ as C1, colK as A2, colM as B2, colN as C2
      from my_table
    order by ID, SORT_BYCan you give us an example of a record to go with the output?

  • Multi Column report

    Hi,
    I am newbie in Crystal report. I stuck into a design problem of crystal report. I would like to design a report as per the desired-report.png (attached).
    My dataset is like report2.xml and relationship specified in relationship-diagram.png (attached)
    The problem is crystal report make the Cartesian product of these two table which result in several rows. I am using .Net windows application to build this report.
    Could anyone please suggest how to design this type of report ?

    This is the desired report format
    Id
    StoneDescription
    Rate
    Weight
    Value
    Carat
    Id2
    Metal
    Rate3
    Weight4
    Value5
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    1
    Loose Diamond
    0
    0
    0
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    2
    Silver Utensils
    48
    20550
    976125
    3
    Diamond
    4.25
    0.85
    63750
    4.25
    3
    Gold 18K
    2250
    103.21
    232223
    4
    Diamond
    0.8
    0.16
    12800
    0.8
    4
    Gold 22K
    2750
    204.3
    561825
    5
    Diamond
    0.2
    0.04
    3300
    0.2
    5
    Sovereign
    2810
    88
    247280
    6
    Diamond
    1
    0.2
    17000
    1
    7
    Diamond
    9.43
    1.89
    165025
    9.43
    8
    Diamond
    0.5
    0.1
    9000
    0.5
    9
    Diamond
    1.7
    0.34
    127500
    1.7
    This is the Cartesian product what I am getting in report. For example every diamond row is multiplied to metal rows. As shown in example below-
    Id
    StoneDescription
    Rate
    Weight
    Value
    Carat
    Id2
    Metal
    Rate3
    Weight4
    Value5
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    1
    Loose Diamond
    0
    0
    0
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    1
    Loose Diamond
    0
    0
    0
    3
    Diamond
    4.25
    0.85
    63750
    4.25
    1
    Loose Diamond
    0
    0
    0
    4
    Diamond
    0.8
    0.16
    12800
    0.8
    1
    Loose Diamond
    0
    0
    0
    5
    Diamond
    0.2
    0.04
    3300
    0.2
    1
    Loose Diamond
    0
    0
    0
    6
    Diamond
    1
    0.2
    17000
    1
    1
    Loose Diamond
    0
    0
    0
    7
    Diamond
    9.43
    1.89
    165025
    9.43
    1
    Loose Diamond
    0
    0
    0
    8
    Diamond
    0.5
    0.1
    9000
    0.5
    1
    Loose Diamond
    0
    0
    0
    9
    Diamond
    1.7
    0.34
    127500
    1.7
    1
    Loose Diamond
    0
    0
    0
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    2
    Silver Utensils
    48
    20550
    976125
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    2
    Silver Utensils
    48
    20550
    976125
    3
    Diamond
    4.25
    0.85
    63750
    4.25
    2
    Silver Utensils
    48
    20550
    976125
    4
    Diamond
    0.8
    0.16
    12800
    0.8
    2
    Silver Utensils
    48
    20550
    976125
    5
    Diamond
    0.2
    0.04
    3300
    0.2
    2
    Silver Utensils
    48
    20550
    976125
    6
    Diamond
    1
    0.2
    17000
    1
    2
    Silver Utensils
    48
    20550
    976125
    7
    Diamond
    9.43
    1.89
    165025
    9.43
    2
    Silver Utensils
    48
    20550
    976125
    8
    Diamond
    0.5
    0.1
    9000
    0.5
    2
    Silver Utensils
    48
    20550
    976125
    9
    Diamond
    1.7
    0.34
    127500
    1.7
    2
    Silver Utensils
    48
    20550
    976125
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    3
    Gold 18K
    2250
    103.21
    232223
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    3
    Gold 18K
    2250
    103.21
    232223
    3
    Diamond
    4.25
    0.85
    63750
    4.25
    3
    Gold 18K
    2250
    103.21
    232223
    4
    Diamond
    0.8
    0.16
    12800
    0.8
    3
    Gold 18K
    2250
    103.21
    232223
    5
    Diamond
    0.2
    0.04
    3300
    0.2
    3
    Gold 18K
    2250
    103.21
    232223
    6
    Diamond
    1
    0.2
    17000
    1
    3
    Gold 18K
    2250
    103.21
    232223
    7
    Diamond
    9.43
    1.89
    165025
    9.43
    3
    Gold 18K
    2250
    103.21
    232223
    8
    Diamond
    0.5
    0.1
    9000
    0.5
    3
    Gold 18K
    2250
    103.21
    232223
    9
    Diamond
    1.7
    0.34
    127500
    1.7
    3
    Gold 18K
    2250
    103.21
    232223
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    4
    Gold 22K
    2750
    204.3
    561825
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    4
    Gold 22K
    2750
    204.3
    561825
    3
    Diamond
    4.25
    0.85
    63750
    4.25
    4
    Gold 22K
    2750
    204.3
    561825
    4
    Diamond
    0.8
    0.16
    12800
    0.8
    4
    Gold 22K
    2750
    204.3
    561825
    5
    Diamond
    0.2
    0.04
    3300
    0.2
    4
    Gold 22K
    2750
    204.3
    561825
    6
    Diamond
    1
    0.2
    17000
    1
    4
    Gold 22K
    2750
    204.3
    561825
    7
    Diamond
    9.43
    1.89
    165025
    9.43
    4
    Gold 22K
    2750
    204.3
    561825
    8
    Diamond
    0.5
    0.1
    9000
    0.5
    4
    Gold 22K
    2750
    204.3
    561825
    9
    Diamond
    1.7
    0.34
    127500
    1.7
    4
    Gold 22K
    2750
    204.3
    561825
    1
    Diamond
    0.35
    0.07
    4375
    0.35
    5
    Sovereign
    2810
    88
    247280
    2
    Diamond
    1.15
    0.23
    15525
    1.15
    5
    Sovereign

  • How to design crystal report multi column

    how to design crystal report multi column
    for example
    id              1001             id                 1002     
            id            1003
    name        dinesh          name            dk                 name       
    dkn
    address   kota             address       jaipur             address     delhi
    pin          3260356        pin              546332            pin       
    675942
    id              1004             id                 1005       
               id            1006
    name        dinesh1       name            dk1                     name       
    dkn
    address   kota1           address       jaipur1                 address     delhi
    pin          32606           pin                546345                pin       
    675942
    and so on....................

    DN
    I am afraid you have come to the wrong place.  MS does not support Crystal reports except for
    "Microsoft supports setup and installation for the Crystal Reports products shipped with the Professional and Enterprise Editions of Microsoft Visual Basic for Windows versions 3.0, 4.0, 5.0 and 6.0."
    For other support you need to contact
    For other Crystal Reports support, please do not contact Microsoft. Please contact Crystal Decisions (formerly Seagate Software), which now owns and supports Crystal Report Writer.
    http://support.microsoft.com/kb/100368
    Wanikiya and Dyami--Team Zigzag

  • XML Publisher Multi tab Report: Help needed

    Hi,
    I have a requirement like below--
    Need to develop master detail XML Report in R12. O/P will be in excel.
    Excel output having two Work sheet.
    Some columns data must be non editable in excel output ,whereas some columns will be editable.
    User must not be able to add any line manually in the report.
    Can anyone pls help me out to find a way to build this?????????
    Thanks
    Titas

    Hi Titas,
    Any luck with this? Were you able to create a multi-tab report using XML Publisher? Any help on this will be greatly appreciated.
    Thanks.

  • How to create multi level reports?

    The report I have created contains 25 columns and is to wide. I would like to create a multi level report in the fashion of below:
    Col 1 Col 2 Col 3
    Row1 Row1 Row1
    Row2 Row2 Row2
    Col 5 Col 6 Col 7
    Row1 Row1 Row1
    Row2 Row2 Row2
    I am assuming this needs to be done by modifying html in a template.
    I have cut up a normal report to try and illistrate what I am thinking.
    http://i71.photobucket.com/albums/i124/breinhar/multirow.jpg
    I greatly appreciate the help. Thanks.

    Hi,
    OK - I've put together a horizontal scrolling report template for a Theme 12/Standard report: [http://apex.oracle.com/pls/otn/f?p=33642:198]
    To create this, you need to:
    1 - Through Shared Components, Templates - create a new Report Template based on a copy of the existing Standard report template.
    2 - When you have your new template, edit it.
    3 - In the template's "Before Rows" setting, replace what's there with the following:
    &lt;style type="text/css"&gt;
    #table1 th {white-space: nowrap}
    #table1 td {white-space: nowrap}
    #table2 th {white-space: nowrap}
    #table2 td {white-space: nowrap}
    &lt;/style&gt;
    &lt;table cellpadding="0" cellspacing="0" summary="" style="padding:0px; border-collapse:collapse;"&gt;#TOP_PAGINATION#
    &lt;tr&gt;&lt;td&gt;
      &lt;tr&gt;
        &lt;td style="vertical-align:top; background-color:#EFEFEF; padding:0px; border:1px solid darkgray;"&gt;
          &lt;div id="d1" style="background-color:white; margin:0px; border:0px; padding:0px;"&gt;
          &lt;/div&gt;
        &lt;/td&gt;
        &lt;td style="vertical-align:top; padding:0px; border:1px solid darkgray;"&gt;
          &lt;div id="d2" style="overflow-X:scroll; margin:0px; border:0px; padding:0px; border-right:1px solid darkgray;"&gt;
    &lt;table cellpadding="0" border="0" cellspacing="0" summary="" class="t12Standard" id="table2"&gt;4 - In the template's "After Rows" setting, replace what's there with the following:
          &lt;/div&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;&lt;div class="t12bottom"&gt;#EXTERNAL_LINK##CSV_LINK#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;#PAGINATION#&lt;/table&gt;
    &lt;script type="text/javascript"&gt;
    var d1 = document.getElementById("d1");
    var t2 = document.getElementById("table2");
    var t1 = t2.cloneNode(false);
    t1.style.width = "100%";
    t1.id = "table1";
    d1.appendChild(t1);
    var t2Rows = t2.rows;
    var k;
    var r;
    var c;
    for (k = 0; k &lt; t2Rows.length; k++)
    r = document.createElement("TR");
    t1.appendChild(r);
    c = t2Rows[k].cells[0].cloneNode(true);
    r.appendChild(c);
    t2Rows[k].deleteCell(0);
    d1.innerHTML += "";
    &lt;/script&gt;5 - On your report's Report Attributes, change the template used for the report from "Standard" to your new one
    6 - Also on the report's Report Attributes, set "Enable Partial Page Refresh" to No - this is required as we need the javascript in the template to be run whenever pagination happens and Partial Page Refresh does not seem to allow us the means to trigger javascript
    7 - Finally, on the report region's Region Footer, add in:
    &lt;style type="text/css"&gt;
    #d1 {width:75px;}
    #d2 {width:500px;}
    &lt;/style&gt;#d1 refers to the width of the frozen column and #d2 is the width of the rest of the report - you can adjust these figures as required.
    The template contains two DIV tags - d1 and d2. Initially, d1 is empty and d2 contains the report. The javascript moves the first cell in each row from d2 to d1. The styles then add the scrolling functionality.
    Andy

  • Example Named Column Report Layout?

    Howdy,
    Using APEX 3.1.2, I've successfully setup and tested Apache FOP for a print server. I'm hoping to create a multi-line report layout to emulate the MS Access (of Evil) one this app is replacing, but I'm having trouble getting started.
    It seems that I need to create a Named Column report layout. I've been scouring this forum, the web, and even the new Pro APEX book to find an example of the contents of even the simplest of these XSL-FO files, but I can't find one anywhere. Granted, a little XSL-FO experience would help here, but I can't seem to glean enough from the web to put the pieces together, at least as it applies to APEX. It seems that the examples I do find contain static data, whereas it looks like I should be creating a template form for APEX to populate for passing onto the FOP engine.
    Does anyone have a simple two-column layout they'd be willing to share? Or a good weblink?
    TIA!
    Rich

    Hi Rich,
    This is an example we use in our training:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon" >
    <xsl:template match="DOCUMENT">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="pagemaster1" page-height="845.0pt" page-width="598.0pt" margin-top="10.0pt" margin-left="10.0pt" margin-bottom="10.0pt" margin-right="10.0pt">
    <fo:region-body margin-left="28.0pt" margin-top="28.0pt" margin-bottom="28.0pt" margin-right="28.0pt"/>
    <fo:region-before extent="28.0pt" precedence="true"/>
    <fo:region-after extent="28.0pt" precedence="true"/>
    <fo:region-start extent="28.0pt" precedence="false"/>
    <fo:region-end extent="28.0pt" precedence="false"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-name="pagemaster1" master-reference="pagemaster1">
    <xsl:attribute name="force-page-count">no-force</xsl:attribute>
    <fo:static-content flow-name="xsl-region-before">
    <fo:block-container position="absolute" top="3.0pt" left="357.0pt" height="25.0pt" width="216.0pt">
    <fo:block line-height="14.399999999999999pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" position="relative" top="3.0pt" left="357.0pt" height="25.0pt" width="216.0pt" color="#000000" font-family="Arial" font-size="12.0pt" font-style="italic">
    <fo:block text-align="left" white-space-collapse="false"  linefeed-treatment="preserve" >
    <fo:inline>
    <xsl:text>Report ran by: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="USER_NAME"/>
    </fo:inline>
    </fo:block>
    </fo:block>
    </fo:block-container>
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-after"/>
    <fo:static-content flow-name="xsl-region-start"/>
    <fo:static-content flow-name="xsl-region-end"/>
    <fo:flow flow-name="xsl-region-body">
    <fo:block/>
    <fo:block-container position="absolute" top="4pt" left="2pt" height="752.0pt" width="536.0pt" border-width="1.0pt"> <fo:block span="none" white-space-collapse="false" font-family="Helvetica" font-size="12pt" text-align="start" position="relative" top="44pt" left="27pt" height="752.0pt" width="536.0pt"><fo:instream-foreign-object xmlns:xlink="http://www.w3.org/1999/xlink"></fo:instream-foreign-object></fo:block></fo:block-container><fo:block span="none"><!-- GENERATE TABLE START-->
    <fo:table table-layout="fixed">
    <fo:table-column column-width="80.0pt"/>
    <fo:table-column column-width="80.0pt"/>
    <fo:table-column column-width="80.0pt"/>
    <fo:table-column column-width="80.0pt"/>
    <fo:table-body>
    <fo:table-row>
    <fo:table-cell display-align="before" background-color="#cccccc">
    <fo:block line-height="19.2pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" background-color="#cccccc" color="#000000" font-family="Arial" font-size="16.0pt" font-weight="bold">
    <xsl:text>Ename</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before" background-color="#cccccc">
    <fo:block line-height="19.2pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" background-color="#cccccc" color="#000000" font-family="Arial" font-size="16.0pt" font-weight="bold">
    <xsl:text>Hiredate</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before" background-color="#cccccc">
    <fo:block line-height="19.2pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" background-color="#cccccc" color="#000000" font-family="Arial" font-size="16.0pt" font-weight="bold">
    <xsl:text>Job</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before" background-color="#cccccc">
    <fo:block line-height="19.2pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" background-color="#cccccc" color="#000000" font-family="Arial" font-size="16.0pt" font-weight="bold">
    <xsl:text>Salary</xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="14.5pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:value-of disable-output-escaping="no" select="REGION/ROWSET/ROW/ENAME"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="14.5pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:value-of disable-output-escaping="no" select="REGION/ROWSET/ROW/HIREDATE"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="14.5pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:value-of disable-output-escaping="no" select="REGION/ROWSET/ROW/JOB"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="14.5pt" white-space-collapse="false"  linefeed-treatment="preserve"  text-align="start" color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:value-of disable-output-escaping="no" select="REGION/ROWSET/ROW/SAL"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell/><fo:table-cell/><fo:table-cell/><fo:table-cell/></fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:block></fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    </xsl:stylesheet>XSL-FO is not the easiest thing to learn ;-) but hopefully the above gives you a headstart.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Select_list_from_lov in multi row report: Help

    Oracle 10g, apex 3.2
    On windows XP client, Firefox 3.5.2
    I have a multi row editable report region, defined as below: I have a check box item for the row being selected and one of the columns in the row is a select_list_from_lov_xl. Once the user checks a particular row, using the check box, he/she will choose a particular value from that row's select list. How do I capture the value of the select_list returned value specific for that row? As you see from the highlighted code to render select_list,the value for the apex_item that I am assigning is 30. But when I look in the firebug->inspect element, the apex renders the name as 'f01'..??. What am I missing here??
    Also if user checks all rows, my code picks up the correct corresponding values picked for the select list. If user selects a row in the middle or any random row, the value selected is always the first item returned by the first orw's select_list (though this was not checked!!)
    I am confused and need help on capturing select list return values in a multi row reports.
    Thanks for all your time and expertise...
    Here's the simplified version of my query, that includes the culprits:
    SELECT APEX_ITEM.HIDDEN(10,TR.SEQ) || APEX_ITEM.CHECKBOX(20, tr.seq,'onchange="spCheckChange(this);"',:F500_REQUEST_LIST,':') "Is Requested?",
    +APEX_ITEM.SELECT_LIST_FROM_LOV_XL(30,TO_ROOM_SEQ, 'ROOMS_LOV') "To Room"*_+
    FROM TS_ASSETS TA, TS_REQS TR where <some condition>
    Here is part of my code that extracts the values picked
    -- this should pick only checked rows...
    for i in 1..apex_application.g_f20.count
    loop
    some_checked_value(i) := apex_item.g_f20(i);
    -- the below is coded thus, as thats the value that I see being set, when I inspect this element in firebug. Not sure how this came by, as I had set this item to 30 in my query...???
    some_select_list_val(i) := apex_item.g_f01(i);
    end loop;

    Why don't you try this
    SELECT    apex_item.hidden (10, tr.seq)
           || apex_item.checkbox (20,
                                  tr.seq,
                                  'onchange="spCheckChange(this);"',
                                  :f500_request_list,
                                  'f20_' || '#ROWNUM#'
                                 ) "Is Requested?",
           apex_item.select_list_from_lov_xl (30,
                                              to_room_seq,
                                              'ROOMS_LOV',
                                              'NO',
                                              NULL,
                                              NULL,
                                              'f30_' || '#ROWNUM#',
                                              NULL,
                                              'NO'
      FROM ts_assets ta, ts_reqs tr?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Creating Multi-Column API radiogroup based on LOV

    Hi everyone!
    I was wondering whether or not it is possible to create a 3 column radiogroup based on the APEX_ITEM.RADIOGROUP API in APEX 3.0?
    For instance, my radiogroup is based on a user's interest level and is supposed to look like: oTest oProduction oBoth
    The values returned by whichever button is selected is based on a table value.
    I'm having trouble making this multi column instead of 1 column with multiple rows. I need to set these up with an LOV similar to STATIC2:Test;TEST,Production;PROD,Both;BOTH
    I also cannot create this radio group as a page item because they must display based on a query issued by a report region on this page.
    Any ideas // suggestions?
    Thanks,
    Eric
    Edited by: user11685190 on Oct 12, 2009 9:50 AM

    Andy,
    I'm actually going to have a radiogroup within the report column itself. The suggestion you gave is actually why I'm mixed up as to how to do this....I've always used Apex page items to create my radiogroups, and then you can simply add the LOV and change the number of columns and it's all set up for you.
    This radio group is actually going to be within a row queried by the report. The report is essentially a 'checkbox selection screen' that also allows the user to select which interest level they hold for each selection (interest level is represented by this 3-option radio group). Therefore what you're going to see on the screen is ( [] represent checkboxes, o represent radio buttons):
    Banner INB
    []Planned Outage Notification oTest oProduction oBoth
    []Unplanned Outage Notification oTest oProduction oBoth
    Banner Self Service
    []Planned Outage Notification oTest oProduction oBoth
    []Unplanned Outage Notification oTest oProduction oBoth
    My question was mainly geared towards whether or not you can add a static LOV to an API radiogroup (apex_item.radiogroup(1,interest_lvl,blah)), so that it could look like:
    apex_item.radiogroup(1,1:2:3, NULL, 'Test':'Production':'Both') as result.
    The only documentation I can find deals with issuing a single return value to these API radiogroups. I actually need a three column API radiogroup that hold's three different values based on which group member the user selects. If you can only issue one return value per group, I would have to define three under the same global variable except changing the return value and displayed text for each...such as:
    apex_item.radiogroup(1,1,NULL,'Test') || apex_item.radiogroup(1,2,NULL,'Production') || apex_item.radiogroup(1,3,NULL,'Both) which will hopefully display as: oTest oProduction oBoth
    I'm going to have to concatenate some &nbsps in between so my radio group buttons and labels are actually seperated, but this may be the right idea.
    I'm going to toy around with this a little more today, I'll post my results.
    Thanks for your quick responses!
    Eric

  • Multi page report with large master block

    I am doing a long multi page report with master - detail block.
    Master block is about 60-100 lines long in form format and detail block is 0 to 300 lines in table format.
    I would like to repeat a few columns from master block on all subsequent pages.
    The current solution I have done uses a logical page of 4x1, but in this way i can not repeat selected columns on subsequent pages.
    Is there another way to handle large master block that extends more than one page.
    PB

    You can try this. Create another frame within your master repeating frame and put items there which you want to display on next pages. And set the property of this frame as All Pages.

Maybe you are looking for

  • Officejet H 470 windows 8.1 driver fails to install

    I downloaded the full feature software driver for windows 8.1 for my officejet H 470.  When I run the downloaded exe file the software "cannot find the file" and closes out.  it doesn't ask for a CD.  It is looking in a temporary file on my harddrive

  • B2 001: Local logical system is not defined

    Experts, I am new to SAP Installation. I have created Purchase Orders in a newly installed IDES 6.0 It does not appear on the system immediately after saving. I had to go to SM13 to repeat updates before it can appear in ME23N. I have even gone to SC

  • Will Apple replace my ipad2 for the second time

    My first  ipad2 had a white spot on the screen and i took it to the center and the technician replaced it. It took bout two weeks for me to get the replacement ipad. Just now i found that my replacement ipad is a refurbish ipad, not a brand new as wh

  • Auto import missing full Import options

    Setup Nikon D2X with LR 1.3 Windows XP Pro sp2 I am shooting NEF (Raw) with a D2X tethered to a laptop Nikon Capture Control drops new images in to a folder LR auto import is watching this folder and duly imports the pictures adding metadata as it do

  • Illustrator CS3 - Export all layers to Individual jpgs

    Hi everyone Is there a way to Export all layers (within Illustrator) to Individual jpgs/png/emf? e.g. Say I have 50 layers and I want each layer to be a different .jpg file, I don't want to have to export each layer one at a time. I know you can do t