Did you try Evaluate function?
I'm sorry I'm not an expert in FM, actually I'm a beginner, so How can I use the Evaluate Function with text?
Using an example in English:
Not IsEmpty ( FilterValues ( CheckboxField ; "Monday" ) )
Will be true if the Monday check box is selected no matter what other check boxes might or might not be selected.
Note that if Monday is selected, FilterValues returns the text "Monday" followed by the return character and this is why I do not use:
FilterValues ( CheckboxField ; "Monday" ) = "Monday"
as my test for that check box value.
Yes I did try that before.
I put it in a script to show me a message if monday was found but it didn't work either
I wrote if not IsEmpty ( FilterValues ( Cursos::Dias de la semana ; "Lunes" ) ) and it didnt work either...
I'm sorry.... Found the error!!!! I had a empty space after Lunes, that's why It didn't find it !!!!!!
AAWGGGHHH Always, always the answer is the most stupid thing... sorry for wasting your time and thank you very much!
You did not waste my time! Note how my answer made you go back and take another look at your calculation and this helped you find the issue.
Computers are "idiot savants" they do exactly what we tell them to do, not what we want them to do.
Actually, you are right!
Thank you very much!