2006 Oct 06 8:49 AM
in script iam printing the address in footer as a continuous line(all the fields name1,name2,street,land1...in one line).
but the problem is when it is extending the line watever the space is available is printing in one line and the remaining lenght of field is going to second line i want to print the total field in one line only (client req.)
ex. name1, name2 street phone no iam printing
in first line it is printing name1,name 2, street and half of phone number.. 022 in first line and the number 7777777 in second line.
can i protect the field to be printed in one line
2006 Oct 06 8:52 AM
Try to increase the width of ur window,this due to the size of the window only u are facing this problem.
Check and let me know if u face any problem.
Regards
2006 Oct 06 8:59 AM
write like this way.it is possible number is right justify so there is no more place in window if u using this way it become left justfy and may be it is fit in ur window.
<b>&phone number(L)&</b>
2006 Oct 06 8:58 AM
Hi Vijay,
If you print the Address in one line it shoulb be print in Single line only ..
if you write like the below in your Script,it will print in single line, make sure that the <b>total address lenght should not increase the window lenght</b>,
/: &name1& ,&name 2& , &street& &Phone_No&
Regards
Sudheer
2006 Oct 06 9:00 AM
The solution can be to increase the width of the window..to the maximum possible as per your page size.
Secondly, I would suggest to use CONCATENATE statement in your print program and use the string in the script. The advantage would be the trailing spaces would be truncated.
CONCATENATE NAME1 NAME2 STREET PHONE INTO LSTR SEPARATED BY SPACE.
And in your script.
&LSTR&
2006 Oct 06 9:00 AM
Hi Vijay,
Just increase the window size to have the values printed in one line.
Wat script does it pass the values to nest line if window width is less.
Reward if helpful.
Sachin
2011 Apr 27 1:21 PM