Hello. I have a formula that gives me the accounted budget amount if the account code = 5419. Here's what it looks like: if {AF_PERIOD_OPERATING_STATEMENT.ACCT_CODE_KEY} = '5419' then {AF_PERIOD_OPERATING_STATEMENT.SUM_ACCOUNTED_BUDGET}
Can anyone help me create another similar formula, that will give me the accounted_budget if the account code starts with 5, but IS NOT 5419? I am new to Crystal Reports still and can't figure it out. I've tried this and it doesn't work:
if {AF_PERIOD_OPERATING_STATEMENT.ACCT_CODE_KEY} <> "5419" and if {AF_PERIOD_OPERATING_STATEMENT.ACCT_CODE_KEY} startswith '5'
then {AF_PERIOD_OPERATING_STATEMENT.SUM_ACCOUNTED_BUDGET}
Thanks a bunch.
Can anyone help me create another similar formula, that will give me the accounted_budget if the account code starts with 5, but IS NOT 5419? I am new to Crystal Reports still and can't figure it out. I've tried this and it doesn't work:
if {AF_PERIOD_OPERATING_STATEMENT.ACCT_CODE_KEY} <> "5419" and if {AF_PERIOD_OPERATING_STATEMENT.ACCT_CODE_KEY} startswith '5'
then {AF_PERIOD_OPERATING_STATEMENT.SUM_ACCOUNTED_BUDGET}
Thanks a bunch.