on 05-08-2007 12:48 PM
how to use if condition in Smart forms
Hi Jeya
for if condition type of functionality,you can use the CONDITION tab provided on the text node or table or template .
for eg if you want to print a variable for only employee <b>jeya</b> then for that text node in which u r printing this field put a condition as field = 'Jaya' .this is just an example you can give ur required condition.
the other way wherein you want to edit the value of teh variable depending on some conditions you can create program lines node
Hope this gives you an idea
Reward points if helpful.
Regards
Zarina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in text field u can mention the condition filed with ur comparatives field and value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not only in text, in template ,table,main window, graphics u can see condition tab.
u can specify ur condition there.
if u want to write if condition like abap program, just insert a program line & write ur IF ..
ELSEIF..
ENDIF. statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jeya,
right click at the place where you need to put the condition and then select create->flow logic->alternative.
give your if condition here.. and in the true node give the text that should be displayed.. in the flase node give the else condition of your if .
if the requirement is to change the value of a variable based on the if condition you have the program lines. import the variables which you need to check , put your if condition here and change the variable and export the variable you changed.
Regards,
Vidya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this,
For example u want to print some thing in a TEXT node, in that node goto
CONDITION tab, there u can give ur condition.
or
Right click on node, Click on the ALTERNATIVE options
Give the condition in the Condtion option in General Attributes Tab,
It will have two options TRUE and FALSE ,
depending on the condition we give , it triggers TRUE option or False
option. insert a text which u want to display in TRUE part or in False
as per ur logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.