I'm guessing you mean having 2 date parameters (begin and end range) , which display the little calendar and you click the date.
I wrote a quick report and it worked OK. Here's what I did.
1) Identify the SQL date column which you want the range test to be applied to.
2) Add and ad hoc parameter to that date column.
3) In Tools->Paramters set that parameter to Hidden.
We will set the range from the 2 date parameters.
4) In Tools->Paramters create 2 date parameters of type Date.
Eg: Date_Begin and Date_End.
When the program runs, the user will pick the dates from the calendar that
appears.
5) In the Datasource::ObtainSelectstatement method, we will access the 2 date
parameters, add the required syntax around them, them move the new string to
the hidden ad hoc param.
Here's my code:
That takes care of using the date parameters, but it doesn't appear to generate the GUI Calendar Control itself, which is what I was really asking about.
There may be a difference in that respect between the two versions. I did, however, find out that we should be able to have that GUI control on the Request Page (we're implementing from within MRO Maximo). Still working on it
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.