‎2008 May 08 4:20 AM
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
‎2008 May 08 4:36 AM
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
‎2008 May 08 4:36 AM
‎2008 May 08 4:37 AM
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