Normally my statement on IIF() worked.
But I am unable to convert this:
IF mYY = '2012'
mPDF = '_1306.pdf'
ENDIF
into this:
IIF(mYY='2012',mPDF='_1306.pdf',mPDF=' ')
Is it true that I cannot store value into variables when I used IIF()?
Or is it my coding is wrong?
--------------------------------------------------
By the way, some of my IIF() do not need the "eExpression2" (which is the "ELSE" in the IF...ENDIF). This occurs when I conditionally changed the color of an object but I do not know its previous color. Therefore, I have problem with the "eExpression2".
Presently, I used the IF...ENDIF to bypass this type of problem. Is there a better way to deal with the "eExpression2" in the IIF()?
--------------------------------------------------
All hints, tips, wisdom is valued.
Thank you.
But I am unable to convert this:
IF mYY = '2012'
mPDF = '_1306.pdf'
ENDIF
into this:
IIF(mYY='2012',mPDF='_1306.pdf',mPDF=' ')
Is it true that I cannot store value into variables when I used IIF()?
Or is it my coding is wrong?
--------------------------------------------------
By the way, some of my IIF() do not need the "eExpression2" (which is the "ELSE" in the IF...ENDIF). This occurs when I conditionally changed the color of an object but I do not know its previous color. Therefore, I have problem with the "eExpression2".
Presently, I used the IF...ENDIF to bypass this type of problem. Is there a better way to deal with the "eExpression2" in the IIF()?
--------------------------------------------------
All hints, tips, wisdom is valued.
Thank you.