Lotus Notes custom view received mail

拥有回忆 提交于 2019-12-10 20:35:51

问题


I am using lotus notes 8.5.2 on windows 7. I would like to create a custom view that shows all emails EXCEPT sent mail. In other words it contains: INBOX & ALL FOLDERS.

Currently my ALL DOCUMENTS view has the following formula conditions: SELECT @IsNotMember("A"; ExcludeFromView) & IsMailStationery != 1 & Form != "Group" & Form != "Person"

The SENT view has the conditions: SELECT DeliveredDate = "" & PostedDate != "" & !(@IsMember("S"; ExcludeFromView))

My thinking is that I should be able to exclude the SENT conditions from the ALL DOCUMENT condition ?

Thanks a lot


回答1:


Taking all the documents that aren't in the Sent view isn't quite right, because there are a few documents that aren't in the Sent view that are also excluded from the All Documents view. The logic you want is:

SELECT (in the All Documents view) AND NOT (in the Sent view)

So, first make a copy of All Documents. You're going to keep the selection formula from the All Documents view, and put & !( ) after it, like this:

SELECT ( @IsNotMember("A"; ExcludeFromView) & IsMailStationery != 1 & Form != "Group" & Form != "Person" ) & !( )

Now, just copy the selection formula from the Sent view and put it between those empty parens, so the result is this:

SELECT ( @IsNotMember("A"; ExcludeFromView) & IsMailStationery != 1 & Form != "Group" & Form != "Person" ) & !( DeliveredDate = "" & PostedDate != "" & !(@IsMember("S"; ExcludeFromView)) )


来源:https://stackoverflow.com/questions/14757667/lotus-notes-custom-view-received-mail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!