checkboxcountpowerbuilderdatawindow

How to count number of checkboxes selected in powerbuider?


Can somebody tell me, please, how can I get the number of the selected checkboxes from a datawindow in powerbuilder?

Thanks!


Solution

  • Loop through the rows looking for the value you have designated as the 'Datavalue for On' for the field with the editstyle of checkbox.

    enter image description here