on 05-09-2007 4:26 PM
Hi all,
i want to use more than one argument to define in a condition whether a image is shown or not.
I used following two possibilities, but nothing worked. The VC takes only the first
argument but not the second. FYI: @Abweichung_calc_proz is TEXTFIELD
BOOL(IF(NSTR(@Abweichung_calc_proz,'.2')>=0,(IF(NSTR(@Abweichung_calc_proz,'.2')<=20,true,false)),false))
BOOL(IF(@Abweichung_calc_proz<=20 AND @Abweichung_calc_proz>=0, true, false))
Thanks for any help, best regards
Frank
Try this:
BOOL(IF((@Abweichung_calc_proz<=20) AND (@Abweichung_calc_proz>=0), true, false))
or this
BOOL(IF(bool((@Abweichung_calc_proz<=20) AND (@Abweichung_calc_proz>=0)), true, false))
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
BOOL(IF((@Abweichung_calc_proz<=20) AND (@Abweichung_calc_proz>=0), true, false))
Is not working either. Maybe theres another Problem???
Field Abweichung_calc_proz is also calculated in the table. Can i be sure that
Abweichung_calc_proz is calculated before i make my check on the other field?
The other thing: Abweichung_calc_proz is a "text"-field.
Thanks,
Frank
Hi Frank ,
Make use of Comparion methods, and the Logical operators ( OR,AND) to suffice your need . I have implemented similar kind of thing using those operator and it worked fine .Try not using IF .
Thanx
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to nest the arguments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.