In the repeated's onBeforeRowDisplayEvent, getDisplayField("*chkBox")
(or repeated.getDisplayField("chkBox")) refers to the current row's
checkbox.
Jean-Fran�ois Bustarret
FranceNet
[EMAIL PROTECTED] a �crit :
>
> Hello.
>
> My problem is this: I have two data objects - the first imports
> all distinct values in a table, and the other imports the
> value belonging to a specific record. For instance, there are
> five types of sound formats in the SOUND table, so the data
> object will import 5 records ("1", "2", "3", "4", "5").
> Movie XYZ has sound type "3", sothe data object will
> import "3".
>
> Now, the first data object is bound to a repeated object,
> consisting of a static text field and a check box per row.
> So, five check boxes and five labels are created in the
> repeated object.
>
> Problem is, I can't figure out how to check *only* the row
> indicated by the second data object. I can perform a nested
> loop to see where I should check, but since all the check boxes
> in the repeated object have essentially the same name
> (as accessed in getDataObject()), I can't figure out how
> to selectively check the boxes. Is there a way to refer to a
> specific row of a repeated data object?
>
> Thanks!
> -John de Freitas
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]