Skip to Content

address & end address in script

Hi Experts,

In address I hv been tryin to print street 2,3 & 4 using address & end address .. but isnt appearing in the window..

Code used by me is:

/: ADDRESS PARAGRAPH AS

/: TITLE &REGUH-ANRED&

/: NAME &REGUH-NAME1&, &REGUH-NAME2&, &REGUH-NAME3&, &REGUH-NAME4&

/: STREET &REGUH-STRAS&

/: POBOX &REGUH-PFACH&

/: CITY &REGUH-ORT01(C)&

/: POSTCODE &REGUH-PSTLZ&

/: COUNTRY &REGUH-LAND1&

/: FROMCOUNTRY &T001-LAND1&

/: ENDADDRESS

KIndly guide me..if smthing wrong in this..

Thanks In advance..

Edited by: Himayan Das on Jan 10, 2008 10:38 AM

Edited by: Himayan Das on Jan 10, 2008 10:39 AM

Edited by: Himayan Das on Jan 10, 2008 10:40 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 10:03 AM

    Hi Himayan,

    You write "print street 2,3 & 4", but I guess you mean name2, name3....?

    First find out if the fields &REGUH-NAME2&, &REGUH-NAME3&, &REGUH-NAME4& have been filled correctly (use the script debugger).

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 10:01 AM

    Hi Himayan,

    The actual syntax of ADRESS is

    /: ADDRESS [DELIVERY] [PARAGRAPH a] [PRIORITY p] [LINES l]

    DELIVERY: Defines the street address. If this parameter is selected, the system prints the street address on the layout output instead of the P.O. box.

    If the supplement DELIVERY is specified for the command ADDRESS, then the street is entered instead of

    the PO box.

    So u just try this out & let me know if u've any further doubts in this.

    Dont forget to Reward me the points if Useful.

    Pavan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 05:07 PM

    Hi Himayan,

    Try specifying the Number of lines..

    ADDRESS [DELIVERY] [TYPE] [PARAGRAPH] [PRIORITY] [LINES]

    ENDADDRESS

    Lines Specifies how many lines may be used for formatting the address. If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted. If there is no LINES parameter and if this command is in a form window of a type other than MAIN, then the number of lines available for formatting the address are automatically calculated based on the current output position and the size of the window.

    Reward points if helpful..

    Regards,

    Goutham.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.