fortesque
01-11-2009, 12:49 PM
Thomas:
If i'm incorrect about this, sorry.
When using check boxes in the grid I've noticed that with the stat function mode, "min", "max", and "count" are available as a selection. If count is used, it indicates the number of check box editors on the records page in a particular column. It does not reflect how many out of the total number of check boxes in a column were actually "selected".
That is, if there are four check boxes created by an editor with "check box" property, and two of these are checked, that is selected, then when running "stat" the count shows "4".
What would be useful is to have the function "sum" reflect "2", the number of check boxes actually selected.
How I'm handling this now is not to use "check box" when I need a "sum" but to assign "1" or "2" to a numeric editor with "1" representing "yes" and "2" representing "no" so I can sum the number of selections made for that choice.
One can use radio buttons instead of check boxes, but often check boxes are a preferred choice.
Thanks,
John Burns
If i'm incorrect about this, sorry.
When using check boxes in the grid I've noticed that with the stat function mode, "min", "max", and "count" are available as a selection. If count is used, it indicates the number of check box editors on the records page in a particular column. It does not reflect how many out of the total number of check boxes in a column were actually "selected".
That is, if there are four check boxes created by an editor with "check box" property, and two of these are checked, that is selected, then when running "stat" the count shows "4".
What would be useful is to have the function "sum" reflect "2", the number of check boxes actually selected.
How I'm handling this now is not to use "check box" when I need a "sum" but to assign "1" or "2" to a numeric editor with "1" representing "yes" and "2" representing "no" so I can sum the number of selections made for that choice.
One can use radio buttons instead of check boxes, but often check boxes are a preferred choice.
Thanks,
John Burns