IIF Command in Memo Fields on Reports

Randix

Registered User.
Local time
Today, 08:34
Joined
Mar 24, 2001
Messages
56
For some reason, every time I go and try and use an "IIF" statement in a control source on a report, where it involves a memo field, I get an error message that I have a comma in the wrong place, eg:

IIF([srm_memo] Is Null, " ", "Update")

Is there something about memo fields that makes this approach not workable?
 
It's not the IIF part, you have that correct... try changing the statement to

IIF(IsNull([srm_memo]),"","Update")

...and it should work fine
 

Users who are viewing this thread

Back
Top Bottom