I'm using CR 8.0
I've got three tables:
buyers =* orders *= sellers
Every order has a buyer or a seller, but not always both.
I filter for a certain client - either as a buyer or seller.
I need to sort by the client order type, which is located on the buyer or seller table (depending on whether the client is the buyer or seller). I created a formula field called type, which is then used as a group name field.
It works fine when there is a buyer AND a seller but
the type returns null when there is only one - a buyer OR seller.
Here is the formula field:
IIf(
{Buyer.Client}={?Client},
{Buyer.Type},
{Seller.Type}
)
Thanks in advance for any help!
I've got three tables:
buyers =* orders *= sellers
Every order has a buyer or a seller, but not always both.
I filter for a certain client - either as a buyer or seller.
I need to sort by the client order type, which is located on the buyer or seller table (depending on whether the client is the buyer or seller). I created a formula field called type, which is then used as a group name field.
It works fine when there is a buyer AND a seller but
the type returns null when there is only one - a buyer OR seller.
Here is the formula field:
IIf(
{Buyer.Client}={?Client},
{Buyer.Type},
{Seller.Type}
)
Thanks in advance for any help!