Does Crystal have a command similar to "if Not Exist".
I am selecting field A from one database and Field B from another database. In some cases field A does not exist in the database.
If both A and B exist then both show on report. If B exists but A doesn't, then B does not show. I always want B to show, regardless of whether A is present or not.
I want to have a formula that says something like
If not exist A then 0
else
A
Therefore if A doesn't exist it will default to a zero, and then will report both A and B.
A will be Zero and B will be correct value.
Or is there another better way to handle this?
Hope this makes sense, any help appreciated.
I am selecting field A from one database and Field B from another database. In some cases field A does not exist in the database.
If both A and B exist then both show on report. If B exists but A doesn't, then B does not show. I always want B to show, regardless of whether A is present or not.
I want to have a formula that says something like
If not exist A then 0
else
A
Therefore if A doesn't exist it will default to a zero, and then will report both A and B.
A will be Zero and B will be correct value.
Or is there another better way to handle this?
Hope this makes sense, any help appreciated.