cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe forms ..Table passing to Form and Display

Former Member
0 Kudos

Hi folks,

Please help me out

I need to pass a table of text comments to Form to display it ..

Table is populated by using read_text FM...thru coding in Interface..

how to display it on form?

Thanks,

Faiyaz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Faiyaz,

You can go with two approaches.

1. which would display the standard text the way it is mainatained. The Read_text FM would return the standard text in an Internal table.

a) Declare an internal table of the same time of the returning table parameter of the above FM in Global attributes ( Say Gt_text ) of the form interface. Copy the Internal table data returned by the FM into Gt_text.

Mapp the Gt_text global attribute to Context interface of the form. Then to goto layout dragg and dropp the Attribute ( Gt_text ) on to the lay out.

2. If you want the text to appear as continues text. Declare a global attribute say g_text of string type.

Loop the text internal table returned by the Read_text FM. Concatenate each line of the internal table into g_text.

Mapp the g_text attribute into the form context. In the layout dragg and drop the attribute whuch would appear as text. Set the text property to None with out Caption portion. Check multiple lines property in the text.

Hope this helps,

Murthy

Answers (0)