cancel
Showing results for 
Search instead for 
Did you mean: 

address & end address in script

himayan_das2
Explorer
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.