I am having problem setting up a querry with IIF statement.
I have made a querry which shows if there are attachments in table.
if there is an attachment it shows (something like) @(1) and if there is no attachment it shows @(0) in querry filed.
what i am trying to do is, if there is an attachment it should say "YES" and If there is no attachment it should say "NO"
for which I have tried the following formulas in querry but its none are working.
TEST: IIf([purattach] Is Null,"YES","NO")
TEST: IIf([purattach.FileData] Is Null,"YES","NO")
TEST: IIf([purattach.FileName] Is Null,"YES","NO")
TEST: IIf([purattach.FileType] Is Null,"YES","NO")
Thanks