RE: DateRange Question/Help Kyle S Huang 1.Jul.11 10:22 AM a Web browser Domino Designer -- LotusScript All Releases All Platforms
I am unclear what you mean by a "second subset".
Typically, if this would be user customizable for further searching, I would build a query string.
First batch would be:
QueryString$ = "(FORM = ""myForm"") & (DATEFIELD >= [5/1/2011]) & (DATEFIELD <= [6/30/2011])"
Based on more user input:
QueryString$ = QueryString$ & " & (Fieldname1 = ""UserValue1"")"
Then, I would run the NotesDatabase.Search(QueryString$).
If I allow the User to keep looping, then just do the same thing like the following:
QueryString$ = QueryString$ & " & (Fieldname2 = ""UserValue2"")"
(You may have to store QueryString$ in a field so you can retrieve the next time they click on the search button.)
Hope that helps.
-Kyle Huang
DateRange Question/Help (Terri L O'Mahon... 22.Jun.11)
. . RE: DateRange Question/Help (Kyle S Huang 28.Jun.11)
. . . . RE: DateRange Question/Help (Terri L O'Mahon... 30.Jun.11)
. . . . . . RE: DateRange Question/Help (Kyle S Huang 1.Jul.11)
|