How on earth (using Crystal Syntax) do you achieve the most mundane task of having multiple lines of logic within each section of an IF statement? I always seem to get the error:
The remaining test does not appear to be part of the formula.
I am attempting to add a formula with an IF statement in the form:
If DatabaseField <> someValue then
Do task 1
Do task 2
else
Do task 3
Do task 4.
Actual code being used looks like this:
if {sp_InvoiceOneIntroducer.int_Name} <> Intr then
{sp_InvoiceOneIntroducer.fee_User1}
{sp_InvoiceOneIntroducer.fee_User2_5}
else
{sp_InvoiceOneIntroducer.fee_User6up};
Intr is a currencyVar
The remaining test does not appear to be part of the formula.
I am attempting to add a formula with an IF statement in the form:
If DatabaseField <> someValue then
Do task 1
Do task 2
else
Do task 3
Do task 4.
Actual code being used looks like this:
if {sp_InvoiceOneIntroducer.int_Name} <> Intr then
{sp_InvoiceOneIntroducer.fee_User1}
{sp_InvoiceOneIntroducer.fee_User2_5}
else
{sp_InvoiceOneIntroducer.fee_User6up};
Intr is a currencyVar