4 Replies Latest reply: Jun 23, 2009 4:17 PM by Rainer Filoda RSS

GetFieldSelections() problem

Teemu Pitkänen

Hello,

I have a calendar component that lets users choose years, months and days to analyze. I'm using a set analysis statement that forces the calculations to use the same date information (day, month, year) as selected elsewhere in a few expressions. I've made variables that have values (in short) GetFieldSelections(Year), GetFieldSelections(Month), GetFieldSelections(Day). I use those variables in the set analysis statements.

If I select days 1, 2 and 3 for example, everything works like it's supposed to. If I increase the amount of selections to 1,2,3,4,5,6,7, the current selections box displays my selections like this: (7 of 31). At the same time my expressions stop working and nothing is printed. GetSelectedCount() returns 7 like it's supposed to but for some reason the GetFieldSelections() -function won't return any selections. Or it might return something but definately not the ones I've selected.

Any tips?