Hello,
I have a view of dates, but I only want to select from date1 to date2.
I used an input box for the dates, but how do I use those dates in the queryopen part of the view.
Sub Queryopen(Source As Notesuiview, Continue As Variant)
Dim Date1 As Variant
date1= Cdat(Inputbox$("What is your beginning date of the search?")
Dim Date2 As Variant
date2 = Cdat(Inputbox$("What is your ending date of the search?")
End Sub
How can I use these variables in the view selection criteria?
I have
SELECT ((Form = "InputVehicles") & StartDate >= Date1 & EndDate <= Date2
and this does not work.
Any help would be appreciated.
Thanks,
John
I have a view of dates, but I only want to select from date1 to date2.
I used an input box for the dates, but how do I use those dates in the queryopen part of the view.
Sub Queryopen(Source As Notesuiview, Continue As Variant)
Dim Date1 As Variant
date1= Cdat(Inputbox$("What is your beginning date of the search?")
Dim Date2 As Variant
date2 = Cdat(Inputbox$("What is your ending date of the search?")
End Sub
How can I use these variables in the view selection criteria?
I have
SELECT ((Form = "InputVehicles") & StartDate >= Date1 & EndDate <= Date2
and this does not work.
Any help would be appreciated.
Thanks,
John