Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Would like to create the calender control independent of any coulmns in the database. Will use the calender object to select the date which will be passed as input. How to create the calender object independent of database columns.
Hi Lee,
Are you selecting one date in particular? I think when you are using $(CalendarStart) it will only evaluate if you only have one possible value, otherwise it won't know what to display.
Not sure if that's the issue, just thought I'd mention it.
Chris
Hi Chris,
I am just selecting the one day ... just to test if it is being passed to the variable and it is not ...
But thanks for the tip
Lee
Hi,
Do you have a sample you could upload just so we could have a play with? These things catch me out sometimes too.
Chris
Sure ... attached is a simple example of what I am trying to do ...
Not using a variable ... works ... using one does not ...
Hi,
I changed the variable in the text box from $(myCalendar) to just myCalendar and it now acts the same as the other text box.
I'm not sure about how you would make the text box so that you could input a range of dates though. The only time I've done this is using the Slider object and linking it to the calendar, which would work in your case but I'm not sure that's what you're after.
Sorry, my knowledge is a bit limited with this!
Oh, it looks like you can set the Calendar object to multi value in the properties which will then set a range on the Calendar table.
Chris
Hey ... thanks Chris ... I always thought you had to prefix variables with the $Expansion to return all values in the variable ...
Pleased that you solved it ... can crack on now.
Cheers
Lee