Hi,

Assuming you have a repeated with its fields bound to a dataobject , you can 
conditionally execute the dataobject based on certain field value. 

The values can be put in a usersession variable and can be accessed to determine 
conditional execution.

Basically you will have to "SKIP" the exeution in dataobject events.

If ND does not find any data , the repeated fields bound to that dataobject are not 
used to create HTML.So, the rendered HTML will come to browser without the repeateds 
which you wanted to skip

If you don't want to "SKIP" the dataobject execution , then , you can 'SKIP' the 
on_beforeDisplay event of repeated fields based on values in user session varible.


-Rahul


"Dan Howarth" <[EMAIL PROTECTED]> wrote:
>
>Am trying to figure out the best technique
>to hide and then unhide repeated groups based
>database values.   For example, if fieldA is
>equal to "a" then Repeated1 should be
>displayed, otherwise Repeated2 should be
>displayed.   Any ideas on the best way to
>do this sort of thing?   TIA


_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.

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]

Reply via email to