Janet,
Yes I think if you use the same DO in 2 pages and change its dyn criteria, the other
page will be affected, since the dyn criteria of a DO is stored as a user
sesssion
object. I would personally prefer to use separate DOs.
Vishal
[EMAIL PROTECTED] wrote:
>
>
>
>I have a wizard-generated Data Object that I use in 2 places in my application.
>On PageA it directly populates a drop-down. No manually code involved.
>
>On PageB I use it in code to set its DynamicCriteria and execute it to query the
>database.
>
>I'm wondering if this is a safe thing to do.
>
>Does the Dyn criteria I set in PageB stay in effect when the same DO is used to
>populate PageA (that wouldn't be a good thing!) ? If so, would it be better to
>use 2 separate data objects? or maybe after a do the "clearDynCriteria....
>setDynCriteria... execute", I should do another clearDynCriteria to reset it?
>
>Thanks,
>Janet
>
>
_________________________________________________________________________
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]