Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a way to hide unassociative or disabled Multibox? Any help would be appreciated.
Hi,
Conditional display of objects can be set under the object properties > Layout > Show > Conditional.
For example, to display an object when a variable vShow has the value 'Display', you would type in this field: vShow = 'Display' or Match(vShow, 'Display').
As to your request and if I get it correctly, you would like to hide a multibox if there is no possible values to be selected in the fields ?
If that's so then you could write in the conditional show of the multibox the below (replace with your actual fieldnames and repeat for all fields contained in your multibox):
GetPossibleCount(FieldName1) > 0 and GetPossibleCount(FieldName2) > 0 etc....
Hope this helps.
Hi,
Conditional display of objects can be set under the object properties > Layout > Show > Conditional.
For example, to display an object when a variable vShow has the value 'Display', you would type in this field: vShow = 'Display' or Match(vShow, 'Display').
As to your request and if I get it correctly, you would like to hide a multibox if there is no possible values to be selected in the fields ?
If that's so then you could write in the conditional show of the multibox the below (replace with your actual fieldnames and repeat for all fields contained in your multibox):
GetPossibleCount(FieldName1) > 0 and GetPossibleCount(FieldName2) > 0 etc....
Hope this helps.
Thanks Jean-Pierre Bakhache. Used GetPossibleCount(FieldName) > 0 and it worked perfectly. I really appreciate your help.
Hi,
adding few more with if you need to Hide unassociative data from list box you can simple go to property->General tab and select Hide Excluded
Also mark jp_bakhache as correct answer so that it will be helpful for others too.
Happy new Year !!
Cheers!!!