Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
In my ad-hoc report I have one list box for month selection and one for time period selection.
I wants that on the month selection time period list box should get locked so that user cannot select it.
I have applied the trigger on month selection ->Lock field(Time period).
It is working .On month selection time period is locked.
But I wants that when user will again deselect month then that time period should automatically get unlocked.
Is there any way to resolve this issue???
Thanks in Advance !!!
I think this isn't possible - locked is locked and a listbox haven't a click-event. But you could use buttons with appropriate actions.
- Marcus
Actions can be "conditional" - see attached.
Regards,
Michael
Micheal,
Its an interesting feature... can you explain the logic?
Sure.
The trigger is selection in the Month field. Actions:
1. Lock Field, with expression
if(GetSelectedCount(Month)>0,'Period')
That means if at least something is selected in Month, field Period is locked. Otherwise filed to lock is not defined, nothing happens.
2. Unlock Field
if(GetSelectedCount(Month)=0,'Period')
That means if nothing is selected in Month, field Period is unlocked. Otherwise filed to unlock is not defined, nothing happens.
Thank you, Micheal
Thanks Michael ,
I will try and i will update wheather it is working in my report.
Hi Michael,
I applied the above conditions in my report,when i select on 'month' it is locking the 'time bucket type' and when i unselect the 'Month' it is not working still the 'Time bucket type' is locked .Is there any other way to unlock that field.
If you attach an example, I'll take a look.
Hi,
Please try your condition in this sample report..