Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello:
I've a ListBox that shows one expression (FieldA & ' - ' & FieldB), I want to check "Always One Selected Value" but is disabled all the time.
I've selected one value, saved the document and open again, before open the ListBox properties dialog, and trying other possibilities like create the LB with a field and select one value ... then check the "Always One Selected Value" item and save the document and open again to convert the LB to show the expressión.
Always I've tried with one value selected.
Ara there any trick to enable this checkbox?
Thank you
Joaquín
Hi,
I am not sure this is possible.
Have you tried concatenating both fields in the Script and then creating a list box with the new field
So it would be
FieldA & ' - ' & FieldB AS FieldAB,
from online help
Checking this option assures that one value will always be selected, which is useful in documents where the data only makes sense when one value is already selected, such as one currency rate. This option is enabled after one value is already selected in the list box. This option is not available for calculated fields.
Hi,
I am not sure this is possible.
Have you tried concatenating both fields in the Script and then creating a list box with the new field
So it would be
FieldA & ' - ' & FieldB AS FieldAB,
List box with "Always one selected" option is enabled when you have single field selected from available fields dropdown. It is not available for expressions.
I think it should work as FieldAB is not a calculated field at the user interface level
As mentioned by RustyFishBones, concatenating at script level will work. Finally you will be selecting a single field in LB
Thank you for your help
Thank you Alan
Is there any way we can enable always one selected option for calculated fields in list box?
Thanks in advance!
Hi aanshi61
Try what told us RustyFishBones, it's marked as correct answer; at least for me it worked.
Good luck
Joaquín