Jjackstraw
Programmer
I have a report linked to tables in a SQL Server database. I have two fields called PaymentAmount and DepAmount. (The fields are Float datatypes).
They are to distinguish between a Deposit and Payment. If the transaction was a Deposit - the payment is NULL and vice-versa so one will always be NULL and one will always have a value.. For some records the Amount (either deposit or payment) is zero. I want to suppress these records.
I have the following in my record suppression formula:
({RRPostingHistory.PaymentAmount} > 0) or ({RRPostingHistory.DepAmount} > 0)
It doesn't work right - it suppresses ALL of the Deposit Amounts. What makes me insane is that if I reverse them:
({RRPostingHistory.DepAmount} > 0) or
({RRPostingHistory.PaymentAmount} > 0)
it then suppresses all of the Payment amounts. How can this be. In Logic class in high school we learned
(A or B) = (B or A)
Apparently CR v8 has never attended a Logic class.
Is there anyone who can give me a workaround or SOMETHING?
Thanks for you time.
They are to distinguish between a Deposit and Payment. If the transaction was a Deposit - the payment is NULL and vice-versa so one will always be NULL and one will always have a value.. For some records the Amount (either deposit or payment) is zero. I want to suppress these records.
I have the following in my record suppression formula:
({RRPostingHistory.PaymentAmount} > 0) or ({RRPostingHistory.DepAmount} > 0)
It doesn't work right - it suppresses ALL of the Deposit Amounts. What makes me insane is that if I reverse them:
({RRPostingHistory.DepAmount} > 0) or
({RRPostingHistory.PaymentAmount} > 0)
it then suppresses all of the Payment amounts. How can this be. In Logic class in high school we learned
(A or B) = (B or A)
Apparently CR v8 has never attended a Logic class.
Is there anyone who can give me a workaround or SOMETHING?
Thanks for you time.