Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print string in Smart Form

Former Member
0 Likes
1,035

hi, i have a problem while print long string in smart form.

If the string is too long to display in one line,

it is split into another line.

However, the words are also split into two lines.

For example,

my string is "this is a long string",

when it is printed , it become

"this is a lo

ng string"

Does anyone know how to solve this problem?

Would u pleas tell me, thanks a lot.

hi, i have a problem while print long string in smart form.

If the string is too long to display in one line,

it is split into another line.

However, the words are also split into two lines.

For example,

my string is "this is a long string",

when it is printed , it become

"this is a lo

ng string"

Does anyone know how to solve this problem?

Would u pleas tell me, thanks a lot.

9 REPLIES 9
Read only

Former Member
0 Likes
974

Hi,

Just increase the size of the window in which you are displaying this text.

The problem solves.

Thanks,

Sowmya.

Read only

0 Likes
974

thanks Sowmya Arni ,

my output string is not fixed.

if I increase the length of window, this string maybe output right,

but it maybe incorrect again next time.

Read only

0 Likes
974

hi,

Next time it wont happen after u finalize ur form.

The place where u are writting the variables increase the top scale of that window.

ags.

Read only

0 Likes
974

thanks ags

i have defined a smat style, and set the paragraph format of the output window, but it's not affected.

Read only

0 Likes
974

Hi,

U better to maintain standard text in SO10

Then call the text into the SF.

I think it will work

Regards,

Read only

Former Member
0 Likes
974

Hi,

Use Paragraph and Character Format.

Regards,

Naresh Chava.

Read only

0 Likes
974

thanks NareshChava

would u tell me how to set paragraph and character format so that the words can break correctly?

Read only

agnihotro_sinha2
Active Contributor
0 Likes
974

hi,

I guess the variable in which u are passing are also in two lines.

If they are in still 1 line just drag the above vertical scale of the window and increase the size.

ags.

Read only

robert_altenstraer
Active Participant
0 Likes
974

hi,,

usw fm: SALP_POP_SPLIT_TEXT

or

CONVERT_ASCII_TO_ITF .. but it´s designed TDLINE > 132 CHAR..