Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I need to Hide and show an object based on selection on a particular field.
Example:
Object X should Show only if there is a selection in Y field else it will not show.
Look at the Conditional option of the object, then at the help file for GetFieldSelections()
Hi Alkesh,
you can do that by using variables. If you select an field then you can configure a trigger for the field selected that stores the ID of the selected field into the variable. In the layout condition of the object then you can use this variable to showing that object.
Rgds
matthias
Conditional expression should be something like:
=GetSelectedCount( YField)
Attaching the example, you need to use the condition in properties->Layout->Show->Conditional
Hi Alkesh,
you can do that by using variables. If you select an field then you can configure a trigger for the field selected that stores the ID of the selected field into the variable. In the layout condition of the object then you can use this variable to showing that object.
If you want to show an object depending on a single selected field the you have also the opprtunity to use the substringcount function like this:
=SubStringCount(Concat(YourField,'|'), 'YourSearchstring')
Use this expression in the show condition of the object's layout properties.
Rgds
matthias