Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Here is the scenario: Some of our users are assigned to specific SEGMENTS in section access. I want to program a trigger so if one SEGMENT value is being displayed, that SEGMENT value is selected in the actual SEGMENT field. Currently, section access limits the user's view to only their segment, but certain hidden listboxes do not display unless the SEGMENT value is selected.
Any suggestions?
Thank you.. - dave
Why not change the display condition expressions instead? No need to muck about with triggers and actions. Something like =If(getpossiblecount(SEGMENT)=1,1,0)
Gysbert - Took your advice and amended but that didnt work ... In the conditional I have below. The idea is that if the user has the CANDY as their SEGMENT in section access the SEGMENT field would then be set to CANDY upon opening and the list box would be displayed without them having to click CANDY in a separate SEGMENT listbox
=If(getpossiblecount(SEGMENT)=1,1,0)
AND
GetFieldSelections(SEGMENT) = 'CANDY'
Try =If(only(SEGMENT) = 'CANDY' ,1,0)