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

Longtext

Former Member
0 Likes
469

Hi,

I have requirment like in screen programing i have to show long text in one screen where user can change the text. I am using read_trext to fetch and Save_text for saving the change but how to display long text on my screen.

sudheer. A

3 REPLIES 3
Read only

Former Member
0 Likes
445

Hi,

On the screen you need to define an input field corresponding to the long text that you need the user to see.

In the PAI of the screen,write the statement:

FIELD : fieldname.

Also, dont forget to define a variable with the same name as the fieldname and same type in the program.

In the program, read the text using the function READ_TEXT and assign it to the variable

Hope this solves ur problem.

Regards,

Himanshu

Read only

Former Member
0 Likes
445

/message/5184803#5184803 [original link is broken]

Reward points..

Read only

Former Member
0 Likes
445

Hi

Generally we restrict the use to have max lines in long text. Suppose if they are going to enter only 3 lines then its easy to fix it for those with 132 character a line. But if not sure on the no of lines then create a table control with RSTXT-TXLINE field.

Loop the read line data and populate line by line and when u want to update store in a internal table and update the same.

Hope will solve the issue.

Thiru