AnonymousJane
Technical User
This is the situation I have to figure out. I'm using Crystal v8.5, database is dbV (but can use the database that has been converted to SQL). I'm so confused!!!
Reman Sales: Any sale where the Orl_Price is not equal to E_Reman in the EXCH.dbf
New Product Sales: Any sale where the Orl_Price is not equal to E_COST x 1.335
This is the formula I came up with but I can't mix them together into one report? Am I doing something wrong here.
if not ({Order.OR_TYPE} in "S"
and
{Orline.ORL_PRICE} <> {exch.E_REMAN} then
{exch.E_REMAN} - {Orline.ORL_PRICE} else
if ({Order.OR_TYPE} in "S"
and
{Orline.ORL_PRICE} <> ({exch.E_COST} * 1.335) then
({exch.E_COST} * 1.335) - {Orline.ORL_PRICE}
Reman Sales: Any sale where the Orl_Price is not equal to E_Reman in the EXCH.dbf
New Product Sales: Any sale where the Orl_Price is not equal to E_COST x 1.335
This is the formula I came up with but I can't mix them together into one report? Am I doing something wrong here.
if not ({Order.OR_TYPE} in "S"
{Orline.ORL_PRICE} <> {exch.E_REMAN} then
{exch.E_REMAN} - {Orline.ORL_PRICE} else
if ({Order.OR_TYPE} in "S"
{Orline.ORL_PRICE} <> ({exch.E_COST} * 1.335) then
({exch.E_COST} * 1.335) - {Orline.ORL_PRICE}