on 10-11-2007 4:40 PM
hey folks...
i need to use OR condition in smartforms...as in...
i have a field
HD_GEN-BIL_VBTYP = 'M' or 'P'
then print a text element ....can i use them CONDITIONS tab....without creating code lines???
or else how can we serve this purpose?? suggest me the better way...
Yes, you can print a text element with out using code lines
give the fieldname and comparision values in the conditions tab of the text node
make use 2nd button from the extreme right(button to the left of syntax check button) to insert a OR condition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Or condition will not work in the smartform.
U try put u r conditions in the CONDITION TAB of the text.
If that doesn't workout . Create a program lines and try to put
case condition
case xxxx
when yyy
endcase.
I have done like this for 1 requirement.
Assign points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do this
where you had to provide the condition right click on before it
->select the create the alternative and in that provide the contions
a = 1
or
a = 2.
Thanks,
Nethaji.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alternative is nothing but or condition is SMARTFORM, it contains true or false, so you can place your condition in true and false.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a condition node.
RightClick on the node under which you want this condition to be>Create>Flow Logic-->Alternative.
There you can have your condition statements.
Regards
Aneesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add to what Aneesh said this is what you have to do. Follow Aneesh's advice then put your condition in. In the next line type <b>OR</b> then on the next line type the condition again but giving it the alternative value. In the end a line like:
if temp = 1 or temp = 2
will have three lines:
temp = 1
or
temp = 2
Davis
Hi,
In this case where ever you mention the text in tht text you have a condition tab and you can put your condition in tht tab but i doubt you cannot take or condition.You just have relational operators so you can code accordingly.
Hope i am clear.
<b><REMOVED BY MODERATOR></b>
Regards,
Harini.S
Message was edited by:
Alvaro Tejada Galindo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
folks...plz help me out...
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.