J
JEPE
Hi,
This is hard to explain....
I have a table containing all bills made.
There are 3 important fields:
invoice number
way_of_payment
value
the way_of_payment can have 3 values:
"C"
"O"
or empty
I must have a report based upon a querry so the final report should look
like:
invoice number in first column
and then (and this is tricky for me)
in the second column the field "value" if the way_of_payment is "C"
(third en 4th column remains empty)
if way_of_payment is "O" then the third column should contain the value
but the secodn and the 4th column must be empty
if way_of_payment is empty
second, 3th, 4th column are empty
How to create this querry and
finaly I want the sum of the second, 3th and 4th column in the report
footer...
Any help is welcome
Thanks
This is hard to explain....
I have a table containing all bills made.
There are 3 important fields:
invoice number
way_of_payment
value
the way_of_payment can have 3 values:
"C"
"O"
or empty
I must have a report based upon a querry so the final report should look
like:
invoice number in first column
and then (and this is tricky for me)
in the second column the field "value" if the way_of_payment is "C"
(third en 4th column remains empty)
if way_of_payment is "O" then the third column should contain the value
but the secodn and the 4th column must be empty
if way_of_payment is empty
second, 3th, 4th column are empty
How to create this querry and
finaly I want the sum of the second, 3th and 4th column in the report
footer...
Any help is welcome
Thanks