on 08-22-2007 5:22 PM
Hello,
In my smartform I have to display text from Standard Text. In the Standard Text at the end I have to display the contact person phone number.
' Please contact me at &TEL1_NUMBR& '
This telephone number value is obtained from the Smartform. Is it possible to pass smartform value to the standard text variable?
Hi,
there is nothing like sending value from stdd text to smartform. if the variable is defined in smartform and that variable is getting value at runtime, the value will be printed. that's it.
Are u including stdd text in smartform in this way?
1. create a text node in smartform
2. goto general attributes tab-> type: include text-> now enter these values:
text name: your stdd text name
text object: text
text id: ST
language: EN
now activate the form and test
*Just now I created a stdd text and used variable &sfsy-page& and included the same in the smartform. It worked.
regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
When you were testing for &SFSY-PAGE& in standard text, did u just type in this variable or did u use insert command to include the variable in the standard text.
Please explain how you have included the variable in standard text.
Also can you include variable that is declared in the Global Definition of smartform in the standard text and test for this instead of the system variable &SFSY-PAGE&
Thanks for your help!
Viswas
The issue is solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the above case i have replied in the case of static telephonenumber....
if it is dynamic (i mean if u have to retrive from the database ......) then use adrc table.
rewards if helpful.
Message was edited by:
ramya villupuram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do one thing ..........
declare TEL1_NUMBR TYPE STRING in global definitions.
before u r TEXT in smartform create a program line and give input parameter and outputparameter as TEL1_NUMBR
and write u r code like TEL1_NUMBR = '384573845'.
in SO10 write &tel1_numbr& save it ......
give u r include text ........ activate u r smartform it will work
jst now i did this and it worked for me .
rewards if helpful.
Message was edited by:
ramya villupuram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes, you can print the varaible after the text module in the smartform.
after the text module(text will be written) and then write
' Please contact me at ' &TEL1_NUMBR&
Don't keep the field in the quotes
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.