Want to print a dark line as seperator in table row  for each loop

Hi,
I have a collection of data
I have to print it in a table but condition is it should print a dark line as separator in table for each loop & also have to print a dark line in the end of table.
means Some thing like below
Table Headings
Data1
Data1.1
Data1.2
Data2
Data2.1
Data2.2
Please help ..
Bunty
Message was edited by:
bunty_india

Well what does your looping code look like?
Are you using scriptlets? or JSTL forEach?
Do you have nested loops?
What is your data structure?
Your question about knowing which is the last line in the table requires knowing all of these things. Help us to help you.

Similar Messages

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • I don't want a new row for each line of text

    I have exported a pdf document which is a table full of text in columns (by month). The conversion seems to react randomly so that in some places several lines of text in a column are converted to just one cell (great, just what I want) and then in others, a block of text gets split into a row for each line of text --- very annoying ...
    What would make this happen? Is there a workaround so that you can tell the conversion how to react to blocks of text?
    hope someone can help

    For optimal export the PDF needs to be a well-formed tagged PDF.
    The basic PDF page content has no format, styling, rows, columns,  etc. 
    Just objects painted to the PDF page at a specified  location. 
    You can return to the authoring file, clean that up to support accessible PDF output, then post process the PDF with Acrobat XI Pro to finalize making the PDF PDF/UA compliant. Export of that would be better.
    You can manually tag the PDF such that it is PDF/UA compliant than export from that . This would provide you better export. 
    You can clean up the export you already have. 
    Be well...

  • Want to create an add-in/webpart that can enable comments for each day in TimeSheet

    Hi,
    Want to create an add-in/webpart that can enable comments for each day in timesheet.
    I need help how can I achieve that programmatically.
    Regards,
    Mehar

    Hi,
    I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
    After clicking, a Popup with different textbox, etc...is displayed:  it is possible to put values, comments, or whatever.
    The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
    Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
    To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
    In case of big difficulty, ask again here, and we could get in touch to give more explanations.
    Hope it helps,
    Sylvain

  • For each loop to print a 3D array

    I want to display the elements of my 3d uniform array but after each element I get a "null" also. Any idea why? I've tested with a 2d array and I don't have any problem. Any help is really appreciated.
    public class Testari {
         public static void main(String[] args) {
              String[][][] my3DArray = new String[3][2][2]; 
                 my3DArray[0][0][0] = "a"; //3d uniform array
                 my3DArray[0][1][0] = "b";
                 my3DArray[1][0][0] = "c";
                 my3DArray[1][1][0] = "d";
                 my3DArray[2][0][0] = "e";
                 my3DArray[2][1][0] = "f";
                 for(String[][] x : my3DArray) {//for each loop
                      for(String[] y : x){
                           for(String z : y){
                                System.out.println(z + "  ");  
    }

    What's 3 x 2 x 2?
    How many elements did you explicitly set?
    How many elements does that leave with their default value of null?

  • LaserJet 1100 won't print in WordPerfect X4 unless manual button is pressed for each page.

    Hi - I'm using a Toshiba Satellite - Windows Vista 64 bit operating system.  When using WordPerfect X4, I can't get my HP LaserJet 1100 to print unless I manually push the button for each page.  I have no problems getting it to print automatically in Word or with .pdf documents.  Something is not compatible with WordPerfect.  It was printing fine to begin with, but once I printed an older version of Avery labels, it seemed to trigger this need to have to manually press the big button.  Help!

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • Hello, i designed a logo in RGB format,1600 X 900 pixel...i m using this logo in website and also i wanted to print it in broucher...i m cofused for the setting n size...plz help

    i m confused about logo size and format plz help me out...@

    You can design one logo for both purposes. But you cannot save just one file suitable for both. You need to make the design and then make a reduced size JPEG or PNG for your web site. You also need a version for print, but unless you know what is needed you cannot save it. Just keep the original PSD until you hear what your printer or designer needs for the brochure.

  • Printing same form with 4 copies with differnt terms for each copy..

    Hi experts,
    i have to print a invoice form same form should be printed with 4 copies like invoice copy, sales copy etc.
    for invoice copy the terms to b displayed is different similarly for sales copy.
    am able to print the differnt copies but the same terms are geting printed for evry copy..
    Please suggest

    yes am using the copy count and able to print 4 copies.. sales copy , invoice copy etc..
    but the problem is same terms are geting printed for all the copies.
    i have created 2 pages in second page i created 4 windows for 4 diffrent terms and on the windowsi kept the conditon as
    SFSY-COPYCOUNT = 1 , 2 etc based on copies.
    1)but the SFSY-COPYCOUNT value will only be there upto copy window.. it wont take forward to next page..
    2)  we cant call the command line for next page in copy window.. we can call it only in main window, but in main we cant get the SFSY-COPYCOUNT value
    3)  once a second page with terms  is attached to the main window we cant change it.. it will be same for all the copies as the main window will trigger only once..
    PLEASE DO HELP...
    THANKS IN ADVANCE

  • Epson prints too dark from LR on color managed MacBook Pro?

    Hi all,
    I have a newish MacBook Pro, calibrated with Spyder2, and printing to an Epson 2200. The prints are too dark, and don't really come close to matching the screen in LR. I've brought the images into PS2 for soft proofing, but the prints are still far too dark. It's not just out of LR, but DPP as well. I found this topic:
    http://www.adobeforums.com/cgi-bin/webx/.3bc44027/28
    Tthat seems to describe my problem, but it seems to be Adobe-specific. Doug doesn't say if he's tried printing from other apps. I use Epson's custom profiles, which actually seem to be worse than the standard profiles that come with the driver.
    A new twist seems to be that profiled jpg images with sRGB profiles exported from LR also print too dark when I had them sent out for printing, which leads me to think that my screen is not profiled correctly, or there's some weird flaw in the Mac's color management engine that skews everything.
    My first question: When I profile my screen using Spyder2, I have the brightness set at maximum. Should I bring it down, and if so, how far? The Spyder2 help says use "Factory Defaults", but the MBP ships with brightness set on auto-adjust based on ambient light levels.
    My second question: Are there others who have this issue? Have any of you resolved them successfully, and if so, how?
    Thanks!
    Timmy

    Time for a reality/sanity check for those who complain that "the "prints are too dark from my Epson printer"!
    If you will just reduce your monitor's white-point luminance to the range of 80-90 cd/m2 when you edit your images, it's almost certain that the problem will be solved (assuming you're not making some other error in color management setup). Many people conclude that their problem must be a generic failure or defect of Epson printers (i.e., compared to HP, etc)-- or that the Epson paper profiles are defective. Well, perhaps there's some element of truth to that conclusion--to the extent that Epson printers have evidently been designed with typical professional editing environments in mind (i.e., the low brightness levels to which "serious" printers adjust their monitors and ambient lighting). Why would they do that: Well, who wants to spend many hours each day looking at the glare of a 200 cd/m2 monitor screen (and the reflections from a brighly lighted room)?
    So, for getting "monitor-matching" prints from printers such as the SP 2200, you simply need to work (edit) with your images in a more-or-less "dimly lit" room using a monitor that is properly adjusted for such a low-light environment--(i.e., the screen luminance not higher than 90-100 cd/m2). Of course even with such a reduced screen luminance, the light used for print-viewing must be sufficiently bright(**)
    It's possible that your monitor cannot be adjusted to the necessary (low) luminance level--or that you haven't any means to measure the luminance level. Those are correctable hardware issues, although may require $$.
    (**)please note that a fairly bright viewing light is needed for prints (made as suggested above) to appear to be a reasonably close "match" to the monitor image.
    Phil

  • Group footer. Want to print one section in the body of report

    I am working on an invoice.
    It has two groups:
                    Detail line
                    Invoice number
    In crystal the invoice number group header is ran than the detail line group fires.
    After all the detail lines are printed for that invoice number the group footer for the invoice prints.
    I have multiple sections in my invoice number group footer.
    All these sections except the first has the property u201CPrint at Bottom of Pageu201D selected.
    The First group footer section prints as it should directly below the detail section.
    The second section print at the bottom of the page as expected.
    The third group footer does not print till the end of the entire report. So if I have multiple invoices printing at one time I see an invoice subtotal for each invoice but the u201CTotal Dueu201D does not show until the last page. It is also always 0.00.
    any help wouldbe appriciated.

    I'm guessing here, but it sounds like the data record is not "available" (past EOF?) when the footer is being printed.  Try putting the db field into a shared variable in the detail section (basic syntax):
    whileprintingrecords
    shared total as number
    total = {SOShipHeader.CuryBalDue}
    formula = ""
    Then use the shared variable in the footer:
    whileprintingrecords
    shared total as number
    formula = total
    HTH,
    Carl

  • XML INVOICE Report RAXINV, Taxline is repeating for each invoice line

    Hi Tim
    Thanks a lot for your blog
    Greeting !!
    I have successfully created XML report for AR invoice Printing learning from your blog but stuck to a problem , whenever Invoice is having multiple lines ,say 20, then for each invoice line there is tax line printing 20 times like this:
    PART NO.| CUSTOMER PART#/DESCRIPTION | UNIT PRICE | QUNTITY|
    A123 | 34 WELD-ROD | 52 | 22 |
    Tax Exempt @ 0.00
    A234 | 238-AL WIER | 63 | 55 |
    Tax Exempt @ 0.00
    ........ Assume there are 20 lines then tax line also repeating 20 times which i don't want .It should get printed only once if it is same
    pls help me to achieve this
    Thanks
    Rahul

    Thanks Tim for Your Instant reply.
    I have gone through your duplicate line elimination but my requirement is not this
    I'll explain it, I am using LINE_DESCRIPTION tag for printing item description and this tag have two value for it, when the LINE_TYPE =LINE then LINE_DESCRIPTION tag is printing the line description and if LINE_TYPE =TAX
    then LINE_DESCRIPTION tag is printing the taxline information. Now if I have 20 lines in Invoice then the tax line will also repeat for 20 times, and if i use duplicate line elimination logic and I have same item it'll not print that item, some times whole invoice become blank.
    So I want to print 20 lines and out of that 15 lines are have same tax rate then it should print once at the end of 15th line and for remaining 5 lines if tax rate is different for each line then it should print at the end of each line (5lines)
    In the linetreevariable i used <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES [LINE_TYPE!='FREIGHT']"/> i.e. I want only line type=LINE and TAX
    Thanks
    Rahul

  • Dynamic table height for Printed PO Report

    I have created a RTF template for Printed Purchase Order report using Microsoft Word. The template has Header and Line information. I have two questions.
    1) Lines are printed in Table format. I also print header level notes in Line Section.
    If the header notes are blank, I want the line information (line #, Item Number, Description, quantity etc) to be moved to line1. How do I acheive this?
    I want to dynamically adjust the Table height based on the information printing in the line section. The table has two rows. One for Header notes and one for Line information.
    2) Header notes field is placed in Description column of Line Table (MS word). Currently Header notes are printing within the Description column as wrapped text. I want to print Header notes in one line. How do I expand this field to print in one line?
    Thanks,

    Hi,
    Even I faced the same problem, however I have found a workaround to come out of this problem.
    My PO design template has 16 lines, I am counting the number of lines with data and subtracting the same from 16 and inserting that many empty rows to increase the table height.
    I am pasting the code so that it will be useful for others.
    Paste this code before LINES_ROW for-each loop. This will give the number of lines present.
    <xsl:variable name="_XDOFOTOTAL" select="count(.//LINES_ROW)"/>
    Paste this code at the end of the for-each loop.
    <!-- 16 is the maximum number of rows which fits in my page.-->
    <xsl:variable name="_cnt" select="16-$_XDOFOTOTAL"/>
    <xsl:call-template name="countdown">
    <xsl:with-param name="countdown" select="16-$_XDOFOTOTAL"/>
    </xsl:call-template>
    This function you can put it at the end.
    <xsl:template name="countdown">
    <!-- Instead of for loop. -->
    <xsl:param name="countdown"/>
         <xsl:if test="$countdown">
              <fo:table-row keep-together="always">
              <fo:table-cell/>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell/>
              </fo:table-row>
              <!-- Call the template again -->
              <!-- The below code is like x=x-1 -->
              <xsl:call-template name="countdown">
                   <xsl:with-param name="countdown" select="$countdown - 1"/>
              </xsl:call-template>
         </xsl:if>
    </xsl:template>
    If some one is having a better solution, please share.
    Regards,
    SURESH KUMAR M R

  • Modify a line in an internal table

    Hi Friends,
    I have an internal table . I need to set a flag in the internal table and modify only that line of the internal table .Please advise .
    ex :
    Loop at itab.
    If sys-subrc <> 0 .
    itab-flag = 'X' .
    Modify  ?
    endloop.
    Thanks,
    Teresa

    data l_index type i.
    Loop at itab.
    l_index = sy-tabix
    If sys-subrc <> 0 .
    itab-flag = 'X' .
    Modify itab INDEX l_index
    endloop.
    Regards,
    Atish

  • How to Print the same field value in a single row

    Hi,
    I need to print the same field values in a single row
    For Examble
    in a table TestTable
    ID Name Value
    1 AB 120
    1 BC 150
    1 CD 130
    2 AB 111
    2 BC 112
    2 CD 113
    I need the query like if the Name contains BC and CD then i need to print like ID, BC Value, CD Value as below
    ID BC'Value CD'Value
    1 150 130
    2 112 113
    Kindly suggest me...
    Thanks in Advance
    Anu

    Hi,
    Since you're on 9i some available functionality unfortunatly isn't at your disposal.
    This should work, however, using your sample data:
    MHO%xe> create table t as ( -- generating sample data:
      2  select 1 cid, 'AB' cname, 120 cvalue from dual union all
      3  select 1, 'BC', 150 from dual union all
      4  select 1, 'CD', 130 from dual union all
      5  select 2, 'AB', 111 from dual union all
      6  select 2, 'BC', 112 from dual union all
      7  select 2, 'CD', 113 from dual
      8  );
    Tabel is aangemaakt.
    MHO%xe> select cid
      2  ,      max(decode(cname, 'BC', cvalue, null)) BC_value
      3  ,      max(decode(cname, 'CD', cvalue, null)) CD_value
      4  from   t
      5  group by cid;
           CID   BC_VALUE   CD_VALUE
             1        150        130
             2        112        113For reference and future challenges, see:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:419593546543
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php

  • How to print SO line item seperately on four part of paper

    Hi all,
    My client has following requierment.
    if we take A4 size paper and make four equal part  then we will have four part as follows
    part1 (top left),part2(top right),part3(bottom left) and part4(bottom right)*
    In sales order if there are 4 line item then i want to print
    1st line item,desc,qty,whs code,so number,cust name  on part1
    similarly for
    2nd line item,desc,qty,whs code,so number,cust name on part2
    3 line item,desc,qty,whs code,so number,cust name  on part3
    4th line item,desc,qty,whs code,so number,cust name  on part4
    order of printing is as follows
    following is A4 size  paper ,which is divided in to four parts   first line item will be printed on first part
    second line item will be printed on second part
    third line item will be printed on third part
    fourth line item will be printed on fourth part
    and so on 
    printer automaticaly print this  in there customised old ERP now they want this in the SAp B1..
    they tear this paper in four part and while despatching the item they attach this to the Item
    hope i have given proper information about my question..
    Can any body have idea how to print this in above format....
    thanx in advance.
    regards,
    Chetan.

    Hi chetan,
    I tried your require PLD but did not display the Sales Order line item seperately on four part of paper.
    Try this,
    ->> Open the PLD.
    ->> Create 1 Database field on the top Left half of page and 1 Database field on the top Right half of page in Page Header.
    ->> Create 1 Database field on the Bottom Left half of page and 1 Database field on the bottom Right half of page in
    End of Report.
    Result:
    Top Left half of page ->> 1st Row Item Description
    Top Right half of page ->> 1st Row Item Description
    Bottom Left half of page ->> (Last)4th Row Item Description
    Bottom Right half of page ->> (Last)4th Row Item Description
    Because First 2(Left & Right)Database Fields are in Page Header and both 2 fields are in page header so it will be display only the First Row Item Descrition.
    Second 2(Left & Right)Database Fields are in End of Report and both 2 fields are in End of Report so it will be display only the Last Row Item Descrition.
    so, Try this.
    ->> Create 1 Database field on the top Left (or) Right half of page in Page Header.(Display the 1st row Item Description )
    ->> Create 1 Database Field and Assign the Item Description then Create 1 formula field put formula ( LineNum()==2 )field in Repetetive Area0.
    ->> (Item Description)DB field is Link to Formula field ID.(Display the 2nd row Item Description )
    ->> Top of the menu Clcik the Print Layout Designer -> Repetetive Area -> Add.
    ->> Create 2 Database Field and Assign the Item Description then Create 1 formula field put formula ( LineNum()==3 )field in Repetetive Area1.
    ->> 1st (Item Description)DB Field put hide and 2nd DB field is Link to Formula field ID.(Display the 3rd row Item Description )
    ->> Create 1 Formula field and Paste the Item Discription (Hide) Field ID on the Bottom Left (or) Right half of page in End of Report.(Display the Last(4th) row Item Description )
    Regards,
    Madhan.

Maybe you are looking for