Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Just checking if anybody knows the way to show/hide a field in Multibox (similar to "Conditional" option in chart's expression, for example).
Any suggestions will be appreciated.
Best regards,
Vladimir
HI
There is no option like that in multi box upto my knowledge..
No, not really. You can use a variable to use in an expression in the multibox. If the variable contains a field name then this is shown in the multibox, if the variable is empty there will still be a selection 'row' in the multibox, but there's nothing to select. You could do it with a macro by simply removing and adding the fields or expressions using the RemoveField and AddField methods of the multibox control.
If use variables, create two multiboxes, and show conditionaly one or another depending on variable.
Regards,
Michael
It would be the easiest question to answer if it would be one. Thanks, but I was looking for non-trivial solution.
Thanks, I will try that.
Regards,
Vladimir
Michael,
Unfortunatelly your suggestion will not work in my case (I wish if it could be that simple). I have to use multibox with (potentially) up to 200 fields to select. The combination of the fields to display might be flexible.
So, I was looking for other solution(s). It looks like the macro is the only choice.
Regards,
Vladimir
Hi
I thought, you want just confirmation about that option..so i just told the information.
PFA
Thanks, your example is close to the idea I've tried first, but I need to hide the whole row when the data is not avaialble (selected in your case) and not the "Fields Displayed" part only.
Regards,
Vladimir
PFA,
In THis way you can enable disable a field in Multibox