How to remove the last line of  SUBTOTAL_TEXT ?

i have used this event but i am totaling displaying at bottom rather than total i am getting another line 
that i no need so given a some idea a if possible give some code.
it like as:
saleso  item no quan  net amt
5063        10       47.23   554.23
5063         20      40.00   665.25
TOTAL                87.23    1219.48
---> iam getting extra line  want to delete it give me some solution.
thanks to all,
shabeer ahmed

>5063 10 47.23 554.23
>5063 20 40.00 665.25
>TOTAL 87.23 1219.48
>---> iam getting extra line want to delete it give me some solution.
what is that extra line, is it total line..?
if You want to remove the total line
layout-no_totalline = 'X'.

Similar Messages

  • How to Remove the Last line of Instance in subform ?

    I thought I ran across an example in this forum of how to specify which instance you want to delete from a subform but I can not find it. I can get removeInstance to work but it removes the top line and I just want it to remove the bottom or last instance that was added. I can do it if I only had 2 instances and tell it to removeInstance(1); but the form is going to be dynamic and there will be more than 2 lines when people start to use the form.

    I've found the reason... :-)
    I'm using the designer from Acrobat professional instead of the designer from Adobe LiveCycle.
    I've got Acrobat professionnal 7.0.0 and trying your sample it didn't function.
    Knowing that there was a new version of Acrobat professional (7.0.7)I've installed it, and now your sample function.
    I have to mention that the count method is not listed in the choice menu that appears when you're typing code inside the designer. It means that some functions have to be tryed even if the popup menu of the list of available methods doesn't mention it.. (in this case it's the count method)... :-)
    There are a lot of things like that (for example there is the checkbox problems that are not good managed before Acrobat Reader 7.0.7, and Acrobat professional 7.0.7)
    So I suggest to the developpers that are reading this post to always install the last version of Acrobat Reader, Acrobat Professionnal, Designer, in order that everything goes well with the product.
    gpalmieri

  • How to remove the last line input into a string indicator??

    I am currently working on a program where the user has the ability to create a profile for one of our lab machines to run.  When the user selects what parameters they would like, a string indicator shows the user the last input they set followed by a comma.  For example, if the user selects which profile they want, and the times they would like to set, the following string would be displayed:
    As you can see in the picture above, the profile is updated in the string indicator after every set button is hit.  In the event the user makes a mistake, I want them to have the ability to delete the last line that was added.
    This is the code I developed so far.  The string coming in and leaving is attached to a shift register so it continues to append to the indicator.  I tried in this case to count how many lines have been written in the string so far, and I built an array with the current string.  Using the delete from array.VI I indexed it to the number of lines that was created so that the last line is deleted.  I unfortunately had no luck.  Any suggestions?

    tbob wrote:
    Fonzie1104 wrote:
    Hey Tbob,
    That almost worked.  The only issue though is it leaves a null string in its place without moving everything after up one line.  Also, if i have a parameter repeating multiple times, it doenst seem to work.
    I'm confused.  If you are deleting the last line, how can there be anything after?  What do you mean by a parameter repeating multiple times?
    If you look at my example front panel, you will see that the last line is deleted.  Isn't this what you asked for?
    It's due to the fact that your constant doesn't have a comma in the last line. If you add that in, you should be able to reproduce his problem. This is just a guess though, I didn't actually test it to see.
    Message Edited by for(imstuck) on 06-08-2010 01:24 PM
    CLA, LabVIEW Versions 2010-2013

  • How to make the last line of the textarea visible all the time?

    Hello,
    I am making an online chat application in JSP and XHTML. The chat log and online users� names textareas are refreshed every 5 seconds. When it comes to many messages in the chat log textarea, the scrollbar appears. Then, every time the chat log textarea is refreshed, I need to move the scrollbar down to see the last line of the textarea.
    Are there any ideas how to make the last line of the textarea visible all the time without moving the scrollbar?
    Thanks in advance.
    Dan

    I put the below code on the page, but it didn't work.
    Are there any ideas? Thanks.
    <table border="0" cellspacing="1">
    <tr>
    <th>Chat Log</th>
    <th>Users now online</th>
    </tr>
    <tr>
    <td><textarea rows="20" cols="60" name = "messages" readonly = "readonly"><%= texts %></textarea></td>
    <td><textarea rows="20" cols="20" name = "names" readonly = "readonly"><%= names %></textarea></td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    document.messages.scrollIntoView(false);
    //-->
    </script>

  • How to remove the last blank line in the downloaded text file?

    Hi All,
    I am downloading the one internal table content using the GUI_DOWNLOAD to a text file(.txt). The cursor is in last position of the text file where there is no content. For example consider the below is downloaded txt file:
    This is test file.
    Downloaded from the internal table
    using GUI_DOWNLOAD
    | <----
    In above the internal table content first three lines..
    Once I press page down in the text file, the cursor goes below the third line..(i.e., next to the last line)
    How to avoid that ?
    Thanks in Advance,
    Regards,
    Raghu

    I solved this problem with BIN mode.
    See this code example
    DATA: FILESIZE TYPE I.
    CALL FUNCTION 'SCMS_TEXT_TO_BINARY'
    IMPORTING
       OUTPUT_LENGTH         = filesize
      TABLES
        TEXT_TAB              =   i_record
        BINARY_TAB            = i_Record
          filesize = filesize - 1. "TRUNCATED LAST LINE!!!
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE = filesize
          filename                = l_file
          filetype                = 'BIN'
         TRUNC_TRAILING_BLANKS = 'X'
         TRUNC_TRAILING_BLANKS_EOL = 'X'
         WRITE_LF_AFTER_LAST_LINE = ' '
       TABLES
          data_tab                = i_record
    Hope this can help you.

  • How to remove the blank lines at the end of the JTextArea .

    Hi,
    I need to remove the blank lines in the JTextArea at the end. Suppose i am giving 'A' in the first line and press the enter key two times, after i am giving the 'B' in the third line and press enter key for two times. I need to remove, the last two lines of JTextAreae, . How i can remove these lines?

    String#trim() removes all whitespace from both ends of the String.
    The requirement was to remove line breaks from the end of the String only.
    String#replaceAll with a suitable regex would do the trick. Untested regex for this:text.replaceAll("[\\n\\r]+$", "")db

  • How to read the last line in a txt file?

    Dear all,
    I want to read the last line in a txt file. There are thousands of lines in this file. What I want is to move the file pointer directly to the last line of the file. But I did not know how do to it. Can anybody help me out?
    Thank you very much!

    If the file is coded as ASCII or one of the encodings that maps a single byte to a char then the following class will assist you
    import java.io.*;
    import java.util.*;
    public class GetLinesFromEndOfFile
        static public class BackwardsFileInputStream extends InputStream
            public BackwardsFileInputStream(File file) throws IOException
                assert (file != null) && file.exists() && file.isFile() && file.canRead();
                raf = new RandomAccessFile(file, "r");
                currentPositionInFile = raf.length();
                currentPositionInBuffer = 0;
            public int read() throws IOException
                if (currentPositionInFile <= 0)
                    return -1;
                if (--currentPositionInBuffer < 0)
                    currentPositionInBuffer = buffer.length;
                    long startOfBlock = currentPositionInFile - buffer.length;
                    if (startOfBlock < 0)
                        currentPositionInBuffer = buffer.length + (int)startOfBlock;
                        startOfBlock = 0;
                    raf.seek(startOfBlock);
                    raf.readFully(buffer, 0, currentPositionInBuffer);
                    return read();
                currentPositionInFile--;
                return buffer[currentPositionInBuffer];
            public void close() throws IOException
                raf.close();
            private final byte[] buffer = new byte[4096];
            private final RandomAccessFile raf;
            private long currentPositionInFile;
            private int currentPositionInBuffer;
        public static List<String> head(File file, int numberOfLinesToRead) throws IOException
            return head(file, "ISO-8859-1" , numberOfLinesToRead);
        public static List<String> head(File file, String encoding, int numberOfLinesToRead) throws IOException
            assert (file != null) && file.exists() && file.isFile() && file.canRead();
            assert numberOfLinesToRead > 0;
            assert encoding != null;
            LinkedList<String> lines = new LinkedList<String>();
            BufferedReader reader= new BufferedReader(new InputStreamReader(new FileInputStream(file), encoding));
            for (String line = null; (numberOfLinesToRead-- > 0) && (line = reader.readLine()) != null;)
                lines.addLast(line);
            reader.close();
            return lines;
        public static List<String> tail(File file, int numberOfLinesToRead) throws IOException
            return tail(file, "ISO-8859-1" , numberOfLinesToRead);
        public static List<String> tail(File file, String encoding, int numberOfLinesToRead) throws IOException
            assert (file != null) && file.exists() && file.isFile() && file.canRead();
            assert numberOfLinesToRead > 0;
            assert (encoding != null) && encoding.matches("(?i)(iso-8859|ascii|us-ascii).*");
            LinkedList<String> lines = new LinkedList<String>();
            BufferedReader reader= new BufferedReader(new InputStreamReader(new BackwardsFileInputStream(file), encoding));
            for (String line = null; (numberOfLinesToRead-- > 0) && (line = reader.readLine()) != null;)
                // Reverse the order of the characters in the string
                char[] chars = line.toCharArray();
                for (int j = 0, k = chars.length - 1; j < k ; j++, k--)
                    char temp = chars[j];
                    chars[j] = chars[k];
                    chars[k]= temp;
                lines.addFirst(new String(chars));
            reader.close();
            return lines;
        public static void main(String[] args)
            try
                File file = new File("/usr/share/dict/words");
                int n = 10;
                    System.out.println("Head of " + file);
                    int index = 0;
                    for (String line : head(file, n))
                        System.out.println(++index + "\t[" + line + "]");
                    System.out.println("Tail of " + file);
                    int index = 0;
                    for (String line : tail(file, "us-ascii", n))
                        System.out.println(++index + "\t[" + line + "]");
            catch (Exception e)
                e.printStackTrace();
    }Note, the EOL characters are treated as line separators so you will probably need to read the last two lines (think about it for a bit).

  • How to remove the thick line at the end of each page of my report

    Please how do I remove the thick line that appears at the end of each page of my report anytime I publish the report unto the Web.

    Bring up the property inspector against the report object. In here you will see the settings for HTML output. Remove the entry against the "After Page Value" property.

  • How to remove the gray line in JDeveloper?

    Hello,
    I'm working with JDev now.Now I'm facing a problem, when I want to format my codes in JDev I find many lines of code changed to double. I also notice that the point for newline is the gray line in the coding area.
    Now I want to remove the gray line or move it more right so I can format my codes really more beautiful.
    If there is anybody knows the way,please show me how to deal it.Thank you.

    Sorry,your answer has not figure my issue. The link you gave me does not contain my question.Thank you for your answer.

  • How to Remove the Vertical Line in Forward Mail

    when using apple's mail program how do I remove the vertical line when I forward email ?
    Thanks

    If you are doing this on an iPhone:
    For forwarding or replying to an email without the Blue Vertical line to the left of the text...
    - Open the email
    - Select Forward or reply (this will open a new window)
    - Select All of the text in the new email.
    - In the pop-up bar that says "cut, copy, paste" select the right arrow for more options.
    - Select Quote Level
    - Select Decrease
    Voila!

  • How to read the last line in a text file using text_io?? please help

    Dear all
    I made a procedure that append text into a text file on the operating system.
    the text file grows rapidly. It contains now about 200,000 line . I need to read the last line only . In other wprds i need to go direct to the last line to read some values. Is it possible??
    Please help

    Hello,
    If you know the number of the line you want to read, I can sugget you to use the MORE dos command or the TAIL unix command that redirect to a temporary text file
    Example to create a file that contains the 200010th last lines :
    (Client)Host( 'MORE the_file_name.txt +200010 > small_file.txt') ;So you have only to read the small file with the TEXT_IO functions.
    Francois

  • How to remove the last new line in text area ?

    I have a calculator Applet that shows the calculation in a text area.
    if i enter 2+6, the text area shows
    2+
    6
    and i have a clear last button, which deletes the last entry by user.
    in the example above, one hit of clear last, deletes 6. another hit should delete +.
    I can delete the numbers, but I don't know how to go back to the previous line and delete the operator.
    I may have other calculations in that text area above the current calculation. so replaceAll("\n","") would not work here.
    Please someone help me here.

    it's an applet, i am developing in Eclipse ( mac environment)
    so for deleting a number i used this code, and works fine
    String temp = t.getText();
                             String lastChar = temp.substring(temp.length()-1);
                             for (int i=0; i<numbers.length; i++) // deleting a number
                                  if (lastChar.equals(numbers)){
                                       temp = temp.substring(0,temp.length()-1);
                                       number = number.substring(0,number.length()-1);
                                       t.setText(temp);
    which t is the text area, and numbers is the string array of 0 to 9, and number is a string where i store the entered number
    so i thought for deleting an operator i should use something similar, where i need to go back to the previous line and delete it,
    String temp = t.getText();
                             String lastChar = temp.substring(temp.length()-1);
                             if(lastChar.equals("n")){
                                                            temp = temp.substring(0,temp.length()-3);// deleting n , \ , and the operator
                                       t.setText(temp);
                             } but it doesn't work

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

  • How to remove the empty lines in the generated XML?

    Hi, XML/JDOM experts,
    I used JDOM to generate an XML file in my exercise of comparing two xml files.
    I used a lot of times addContent()...
    The resuting xml is fine for its contents.
    But I don't like so many empty lines (or carriage return).
    Would you help to refine the result?
    Best regards,
    AG
    Sample results:
    <li delta:property="Modified">
    <code delta:property="Modified">
    <delta:NewValue>foreignObject</delta:NewValue>
    <delta:OldValue>text</delta:OldValue>
    </code>
    <svg xmlns="http://www.w3.org/2000/svg" width="6cm" height="45px" delta:property="Removed">
    <rect y="0" x="27px" width="110px" height="45px" style="fill: #C1FFFF" />
    <foreignObject width="120px" y="0" x="20px">
    <div xmlns="http://www.w3.org/1999/xhtml">
    <ul>
    <li>First item</li>
    <li>Second item</li>
    </ul>
    </div>
    </foreignObject>
    </svg>
    <svg xmlns="http://www.w3.org/2000/svg" width="9.5cm" height="1.2cm" delta:property="Added">
    <text y="33px" x="13px" style="font-family: helvetica; font-size: 14pt; fill: #FFAA00">A simple
    text in SVG
    </text>
    </svg>
    </li>

    The solution is to add
    outputter.setTrimAllWhite(true);
    Below is the sample code.
         FileOutputStream out = new FileOutputStream("delta.xml");
         XMLOutputter outputter = new XMLOutputter(" ", true, "UTF-8");
         outputter.setTrimAllWhite(true);
         outputter.output(doc1, out);
         out.close();

  • How to only read the last line in the text file by using BufferedReader ?

    Dear all,
    Hello, I am new to Java. Do anybody know how to read the last line (this is the last record) in the text file.The method I am now using is reading from the first line until I reach the last line in the text file. Thank you!!
    BufferedReader br = new BufferedReader(new FileReader("c:\\sdk1.4.1\\bin\\dbExport.txt"));
    DataInputStream in = new DataInputStream(new FileInputStream("c:\\sdk1.4.1\\bin\\dbExport.txt"));
    String input;
    String firstinput;
    String secondinput;
    int count=90;
    int year=1955;
    while ((input = br.readLine()) != null) {
    firstinput = input.substring(0, 10);
    secondinput = input.substring(10);
    String insertStore1 = ("INSERT INTO AUTHORS " +
    "VALUES ('" + count + "', '" + firstinput + "', '" + secondinput + "', 1955)");
    System.out.println(insertStore1);
    int result = stmt.executeUpdate(insertStore1);

    I suppose you could use a java.io.RandomAccessFile.

Maybe you are looking for