> Hi,
> I'm reposting to ND4 forum though this is a ND3 question. Don't think
> many are reading ND3 forum these days!
>
> ---
> Would like a sanity check on this snippet. It works but I'm not sure if
> it is good practice.
>
> I want to skip certain rows in a repeated based on the value of a bound
> field in the repeated AND to change the value of that display of that
> field for the unskipped rows
>
> in pseudo-code (showing the 2 relevant events)
>
> onBeforeRowDisplayEvent(CSpDataDrivenVisual currObj)
> if currObj is the repeated to alter
> then
> get existing value of field from data object
> if value of field requires row to be skipped
> return SKIP
> else
> field.setValue()
> return PROCEED
> endif
>
>
> onBeforeDisplayEvent(CSpVisual visualObject)
> if(visualObject.getName().equals("my field")
> then
> field.setAutomaticallyReadData(false)
> endif
> return PROCEED
>
> QUESTION: It appears that a call to field.setAutomaticallyReadData(true)
> is
> not necessary. Is that assumption correct?
>
> Thanks in advance
> Peter
>
>
>
>
>
_________________________________________________________________________
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]