You should be able to handle it in onBeforeRowDisplayEvent. You may want to
use an unbound check box and set the values depending on values from both
the data objects.
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 26, 1999 6:24 PM
> To: [EMAIL PROTECTED]
> Subject: [ND] Setting visual object properties one-by-one in a
> repeated object
>
> 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]
_________________________________________________________________________
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]