on 05-04-2007 9:16 AM
Hi all,
can anybody help me with following problem?:
I added a field (input field) to a existing table -> column4. Is it possible to
calculate column 2 + column3 in dependency of column 1 ????
The result should then be written in my new field (column 4).
Example:
Col. 1_______Col. 2_______Col. 3______Col.4
A___________5__________6__________11
B___________3__________2__________5
C___________4__________2__________
In this example the calculation is only made when Col. 1 is A or B ????
Thanks for any help, best regards
Frank
Hi Frank,
you should use an expression box instead of an input field. Then insert a formula like:
if(@column1==A OR column2==B, column2+column3, '')
Maybe you have to cast the column 2 and 3 so that you can compute the value for column 4.
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.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.