Windows XP, Crystal 10, Timberline database.
The following formula, in instances where AP costs nor JC costs have occured, is coming back with a 'blank' value vs. a zero. I'm having difficulty writing the formula to return a zero value in instances where an AP cost transaction nor a JC cost transaction exists.
If {CURRENT_JCT_TRANSACTION.Transaction_Type} in ["AP cost","JC cost"]
and {CURRENT_JCT_TRANSACTION.Cost_Code} <> "17-100" or {CURRENT_JCT_TRANSACTION.Cost_Code} <> "17-200"
and {@Costs Cutoff} = "y" and {CURRENT_JCT_TRANSACTION.Transaction_Type} <> "Dollars paid"
Then {CURRENT_JCT_TRANSACTION.Amount}
else 0.00
Other formula used: If {CURRENT_JCT_TRANSACTION.Accounting_Date} <= {?Cutoff Date} and
{CURRENT_JCT_TRANSACTION.Transaction_Date} <= {?Cutoff Date}
then "y"
I appreciate any help you can provide!
Thanks,
Holly
The following formula, in instances where AP costs nor JC costs have occured, is coming back with a 'blank' value vs. a zero. I'm having difficulty writing the formula to return a zero value in instances where an AP cost transaction nor a JC cost transaction exists.
If {CURRENT_JCT_TRANSACTION.Transaction_Type} in ["AP cost","JC cost"]
and {CURRENT_JCT_TRANSACTION.Cost_Code} <> "17-100" or {CURRENT_JCT_TRANSACTION.Cost_Code} <> "17-200"
and {@Costs Cutoff} = "y" and {CURRENT_JCT_TRANSACTION.Transaction_Type} <> "Dollars paid"
Then {CURRENT_JCT_TRANSACTION.Amount}
else 0.00
Other formula used: If {CURRENT_JCT_TRANSACTION.Accounting_Date} <= {?Cutoff Date} and
{CURRENT_JCT_TRANSACTION.Transaction_Date} <= {?Cutoff Date}
then "y"
I appreciate any help you can provide!
Thanks,
Holly