sommererdbeere
Programmer
Hi,
This is a strange question that i cannot figure out why. I have an if statement where i want to pull all the "NEGATIVE" values to this column, but it doesn't work which i don't know what have i done wrong. I hope all the experts here can help me.
CR 8.5
Oracle 8.0
database:
ID Account Amount
2345 2590 -3000
2345 1230 3000
crystal statement:
formular: CR
if {amt} = - {amt} then
{account}
formular: DR
if {amt} <> - {amt} then
{account}
NOTE: {amt} is number and {account}is string
output:
ID Amount($) CR DR
2345 -3000 2590
2345 3000 1230
i don't know what's wrong with my crystal statement and please please which i hopw all of you can help me. I need to turn this report in by the end of today.
million thanks..
m
This is a strange question that i cannot figure out why. I have an if statement where i want to pull all the "NEGATIVE" values to this column, but it doesn't work which i don't know what have i done wrong. I hope all the experts here can help me.
CR 8.5
Oracle 8.0
database:
ID Account Amount
2345 2590 -3000
2345 1230 3000
crystal statement:
formular: CR
if {amt} = - {amt} then
{account}
formular: DR
if {amt} <> - {amt} then
{account}
NOTE: {amt} is number and {account}is string
output:
ID Amount($) CR DR
2345 -3000 2590
2345 3000 1230
i don't know what's wrong with my crystal statement and please please which i hopw all of you can help me. I need to turn this report in by the end of today.
million thanks..
m