Form how to suppress a blank line

hi
i am printing a lable code
its a encrypted format
i need a code to suppress the blank line3 based on conditon if it is blank.
so id line 3 is blank it should not diplay the blank line. that is my requirment.
pls suggest
regards
Arora

Try like this it will work
IF TO_ADRS-LINE0 NE ' '
STX><ESC>F0<DEL>&TO_ADRS-LINE0&<ETX>
ENDIF.
IF TO_ADRS-LINE1 NE ' '
STX><ESC>F1<DEL>&TO_ADRS-LINE1&<ETX>
ENDIF.
IF TO_ADRS-LINE2 NE ' '
STX><ESC>F2<DEL>&TO_ADRS-LINE2&<ETX>
ENDIF.
IF TO_ADRS-LINE3 NE ' '
STX><ESC>F3<DEL>&TO_ADRS-LINE3&<ETX>
ENDIF.
IF TO_ADRS-LINE4 NE ' '
STX><ESC>F4<DEL>&TO_ADRS-LINE4&<ETX>
ENDIF.
IF TO_ADRS-LINE6 NE ' '
STX><ESC>F6<DEL>&TO_ADRS-LINE5&<ETX>
ENDIF.
Regards,
SaiRam

Similar Messages

  • How to suppress a blank section in crystal report

    how to suppress a blank section in crystal report. although i have set the property
    "suppress blank section "=true ,still i m unable to suppress my section
    please help me to cope up this issue.
    thanks in advance

    One recommendation I make, when troubleshooting suppression issues, is to put a visible border of the section, area or object to be suppressed, and borders for all objects contained in the section or area.  This will help isolate what's suppressed, and whether the section is truly blank or has content that's blank.
    Furthermore, I recommend indicating which SDK and what version you're using when posting.
    Sincerely,
    Ted Ueda

  • Reporting Toolkit: How to insert a blank line into an MS Word Report?

    Hello,
    I have created an MS Word report, but I haven't been able to find out how to "write" a blank line to the report.  I've tried every combination of \n, \\n, "\n", '\n', \\n etc., but I haven't had any good luck.
    Thanks,
    Chris

    Hello,
    If you're using "append report".vi it's has one input for "new line".
    Message Edited by Jorge Amaral on 05-02-2008 03:28 PM
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    append.PNG ‏3 KB

  • Html tags - how to add a blank line

    Hi there,
    can anyone tell me how to add a blank line into a page using one of the html tags ?
    thanks,
    Malcolm.

    You can use the <br> tag for a line break. Also   for space.
    Regards,
    Arun

  • 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 add a blank line in configurat​ion file

    Hi,
    I would like to add an empty / blank line in my configuration file. (.ini file) as below:
    [H1]
    key1=1
    [H2]
    key2=2
    I don't have any idea on how to add the empty/blank line.
    Could anyone help me on this? 

    In case you do not have such luxury, like me... 
    This example VI show an alternative way of inserting empty line/ space between sections of a configuration file...
    PS1: Note that Additional Empty Element is intentionally added to create/ add empty line/ space between sections... 
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFFCT_CFIO_example add empty line between sections.vi ‏64 KB

  • How do you remove blank lines from an assignment block?.

    I have used the UI enhancement tool to add fields to an assignment block, but I've ended up with a blank line between the fields. How can I remove this?. There's an option to add new lines and fields but not remove them.
    Anyone.
    Jason

    Many thanks, that worked fine. I did not think of doing that, but I can see why there would not be a remove line option.
    Regards
    Jas

  • How to display the blank lines in between the message using SO_NEW_DOCUMENT

    Hi,
    I want to display the blank lines in between the paragarph of message using the function module  SO_NEW_DOCUMENT_ATT_SEND_API1.
    Regards
    Nagendra

    Hi Rajesh,
    Try using this code:
    CLASS: cl_abap_char_utilities DEFINITION LOAD.
    data: lf TYPE C VALUE cl_abap_char_utilities=>CR_LF.
    move lf to wa_lines.
    append wa_lines to li_lines.
    Hope this helps!
    Regards,
    Saumya

  • How to add a blank line/return!

    So simple, it would seem, and yet I can't find a way to do this in adobe acrobat!
    All I want to do is stick a blank line in the pdf, a return. At the moment the text reads like this?
    "jskdbvjkls\bvj\s
    skjfdbvjkashbvgkj
    askjfnvlkasjnvskjdn"
    akfgnvlkasfdnvgkangfdhnsdfgnsfgmnsfmjndfhmjdgfhmjgfhm
    I would like it to read like this:
    "jskdbvjkls\bvj\s
    skjfdbvjkashbvgkj
    askjfnvlkasjnvskjdn"
    akfgnvlkasfdnvgkangfhmxfhgmnxfhmxgfhmgfxhmghmghm
    The narrow text is a poem (in the middle of some prose) and I'd like there to be a space between the end of the poem and the start of the explanation. However, they each seem to be inside different boxes(?) and if I press return to create a blank line, the last line of the poem overlaps with the first line of the prose. I've struggled with this for ages, but can't find a way to do it. Can somebody set me free from this incredibly annoying frustration? 

    This type of edit should not be performed in the PDF.  You need to edit the
    original file and then create a new PDF.
    If you can't do that then either export it or try to move all the text
    "boxes" you see. There's no other way of doing it.

  • Acrobat 9 Mac- Forms-how do I add multiple lines?

    I created a document cover in Quark and saved it as a PDF.(I'm on a Mac)
    The idea is for the client (on a PC) to open the document in Acrobat
    and add a few lines for a heading. I think I figured out how
    to add a text box form, but it only allows for ONE line of text.
    I know some of their document headings will require 2 -3  lines.
    How is this done? And is this the best method for giving the client something they
    can "add to" and print out? PLease advise.  I have looked thru the Help menus
    and community support,  but did not find an answer. thanks.

    You can set a text box to be multiline. Right-click it using the Select Object Tool and look under Properties.

  • How to suppress printing blank pages?

    Hi all,
    I work with reports 6i and I need a tip.
    I have to build a report with two sections (main and trailer section).The main section is always filled with data, but the trailer section does not always receive data.
    When I print the report without data in the trailer section there is a blank last page. How can I suppress printing the trailer section when there is no data in it.
    Thank you for your help.
    Thomas

    Hello,
    You can test to use the parameter : BLANKPAGES
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_blnkpgs.htm
    Regards

  • Combo Box Edits in acrobat Forms, how to do a multi-line combo box?

    Could only create a one-liners for this editable combo box, is there a way to create a multi-line like the other fields?

    Nope. But you can set up a multiline text field that gets populated with the complete text you want when an item is selected from a combo box.The combo box items might be abbreviated or coded versions of the complete text you want to display.

  • How to remove blank lines in the end of list .

    hi,
    in a complex report ,when there are only 20 pages,and linecount is 65(2) ,in the last page only 27 lines are filled and data is completed.then blank lines are printing from 27th line to 63 line.then end of page is triggering.
    so plz help me how to remove the blank lines here and immediately print the endof page.

    Hi,
    will this work for you.
    SET BLANK LINES OFF.
    These statements allow you to specify whether you want to output blank lines or not. Use SET BLANK LINES ON to output blank lines or SET BLANK LINES OFF to suppress them.
    Regards
    Viswanath Babu

  • How to skip blank line (EOF char) at the end of the file while creating ?

    Hi,
    In my program I have to create a file in Text mode using OPEN DATASET statement. This file is being sent to a third party system for their processing. I came to know while creating the file using OPEN DATASET, one LF character is inserted end of the file resulting a blank line end of the file. Thus if my internal table contains 5 reocrds, in the created text file I can see 6 lines where last is a blank. My question is how to remove this blank line which is causing issue in the thirdparty system.
    Here is the Code I have used.
       TRY.
    Write the file in Text Mode
            OPEN DATASET lv_outpf FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE
                                 WITH SMART LINEFEED
                                  MESSAGE lv_msg.
            IF lv_msg IS NOT INITIAL.
              WRITE / lv_msg.
              EXIT.
            ENDIF.
            LOOP AT itab_new INTO st.
              TRANSFER st TO lv_outpf.
            ENDLOOP.
            CLOSE DATASET   lv_outpf.
          CATCH cx_root.                                    "#EC No Handler
        ENDTRY.

    an effective way to do it:
    open your dataset in binary mode, transfer the records but between each record transfer the LF (or CRLF according to your need)
    after the last record you don't transfer the LF

  • How to add blank lines (in column) in SQLplus

    I get error when doing below insert, how do I add blank lines in column (via SQLplus)?
    insert into a values(1, '78 ABC house,
    Some Road
    London E34');
    Thanks

    Just set "SQLBLANKLINES" to ON:
    SQL> set sqlblanklines on
    SQL>
    SQL> insert into dept values (50, 'This department
      2
      3  has several
      4
      5  blank lines','This
      6
      7  Loc') ;
    1 row created.
    SQL> select * from dept where deptno = 50 ;
        DEPTNO DNAME                          LOC
            50 This department                This
               has several                    Loc
               blank lines
    1 row selected.
    SQL>

Maybe you are looking for

  • Create record with 1:N relationship based on condition

    Hi SDNers, Need your suggestions.. The below is the issue: I have fields with values: Field_A    I  Field_B 100           I       P 100           I       Q 100           I       R 200           I       X 200           I       Y 200           I      

  • AdMediator and pubCenter - Tapping doesn't work

    Hey guys, I'm currently developing a XAML Windows Phone 8.1 App (Actually I'm kind of on a schedule). I add pubcenter Ads using the AdMediator control. For testing purposes right now ONLY pubCenter Ads are activated. But when I click on the ad, which

  • Paid app not downloading on my iphone

    I paid for an upgrade on an app (Disney $10) - it appears on my ipad but not iphone - any help?

  • CIN - EXCISE ACCOUNT DETERMINATION

    HI CIN experts, I need ur valuable suggestion cin excise accounts determination. The blw is the example of account determination ; GRPO - 25930004 OTHR - 25930004  (SAME  NBR) DLFC- 14224023 Like this the gl numbers are assigned , can we assign as pe

  • CS2 to CS3

    I have a question about upgrading from CS2 to CS3... Obviously, CS2 does not include Dreamweaver or Flash, so when I install the upgrade version of CS3, will it install Flash and/or Dreamweaver CS3? (even though I have no previous versions of Dreamwe