开发者

Search sharepoint list - return results BETWEEN start and end date

开发者 https://www.devze.com 2023-03-17 04:35 出处:网络
Hi I have a document library, each document has a start and end date. I want to be able to search for a document if applies to a particular date. FOr example, Document 1 starts on March 1st and ends

Hi I have a document library, each document has a start and end date.

I want to be able to search for a document if applies to a particular date. FOr example, Document 1 starts on March 1st and ends on March 5th.

I want this document to appear in the list if I search for all开发者_运维问答 documents that apply to March 3rd as an example.

Any help would be greatly appreciated :)


You haven't really given enough details but I am assuming that you're just looking for a view to do this.

You would create a view that has the following filters

Doc Start Date <= 3/3/2011 Doc End Date >= 3/3/2011

(You could use [Today] in filters instead of 3/3/2011 if you want view any documents that span the current date.)

0

精彩评论

暂无评论...
验证码 换一张
取 消