Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How to display the error message when the user tries to select more than one values in a list box? I know we can do that in "Calculation Condition" but I am not able to find it. Can some one help me on this?
Hi,
Calculated condition will be applicable to chart.
Select any value from your list box --> Go to list box properties --> General tab --> Select always one selected value.
Regards
ASHFAQ
Hi,
Try like this
Chart Properties -> General -> Calculation Condition and give
=GetSelectedCount(FieldName) = 1
Hope this helps you.
Regards,
jagan.
You can select "Always one Selected Value" in the listbox
Thanks but I dont want to select that option for some reasons
I don't see the calculation condition in General tab. That is what my concern is.
Also if the user tries to select more than one value in a list box I want to show the error message. How that is possible?
Hi,
Check attached file, created alert using Text Object.
Regards,
Jagan.
Have a look at attached application.
Use this as field event trigger.
=If(GetSelectedCount(Year), Max(Year))
Regards
ASHFAQ
Since Listbox already has a Select only one option available so no calculation condition is present there. But you can surely use the Jagan's logic to show and hide a text object based on selection of field in the list box. It is more of Show Help option.
Thanks,
Singh
Hi,
How about using Help text in Caption?
ex:
=If(GetSelectedCount(Field)>1,'Not more than one!!','')
Hope this helps you..!!
Regards,
Ravikumar