cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Text from text module is not appearing in smartform output

Former Member
0 Kudos
3,542

Hi Experts,

We are using text modules in one of our smartform to print the sender text . The name of this text module is being dynamically determined during the execution and is coming correctly but still the the text inside the text module is not appearing in the output. We checked one more similar form which is working on the similar logic but calling a different text module , there it is working perfectly. I have tried all the possibilties like changing the window size, changing the fonts and other parameters of the text module but still its not appearing . This seems to be something unusual as in both the smartforms(one with text appearing from module and one without the text) the logic is exactly similar for getting the text module name. The name is getting determined in both the cases correctly and the text modules are also maintained in same manner for both these forms but text is appearing on one and not on other.

Kindly help if any one of you have also faced similar issue.

Regards

View Entire Topic
Vivekananda
Explorer
0 Kudos

Hello Priyank,

     You can use an another way out to display the dynamic sender text in the smartform. Please follow the below steps:

1. You can create a variable with maximum character limit in the Global Definition.

2. Create a program line and write code to populate that variable with the sender text. (make sure you pass the sender text as import parameters).

3. Create a Text Element, resize and reposition it to the appropriate area on the window, and add that variable as &variable&

Hope this helps...

regards,
Vivek

viquar_iqbal
Active Contributor
0 Kudos

This is the correct answer for me - i forgot to use '&' along with my variable and was scratching my head on why its not working.

Thank Vivek .. it def helped me.