Searching for recently modified documents

Hi,

I want to search, in Lotus Script, all documents from a certain form name that were modified in the past three days. How can I write such a formula in Lotus Script? I’ve written search queries before but not with a date as being part of the query.

I thought about using the GetModifiedDocuments method of Lotus Notes Database but I don’t know how to incorporate the form name into that.

Thanks in advance!

Subject: use adjust

set dc = db.search( |select form = “whatever” & @adjust( @modified;0;0;3;0;0;0) >= @today|, nothing, 0)

John

Subject: Re: use adjust

Hi John,

Thanks for the suggestion. I’ll give that a try.

Thanks for taking the time!

Liza