is it that neither log message below is actually written?

If so, then either the query  type is not 'select' when this method 
executes, or the method is not executing when you expect it to.

Are you sure that the DO is bound at the page (top) level?

I don't use bound data objects, but I recall that if the DO is bound to a 
repeated on the page, the only  method that would fire would be 
repeated_onBeforeExecuteEvent, not this_.....  .

-- Curt Springer,
    Team ND



At 06:56 PM 8/5/99 -0500, Roger Feeley wrote:
>I just know that I have done something stupid.  I have a data object and I
>want to retrieve the dynamic criteria and store it in a user data session
>object.  For some reason, I come up blank.  The log tells me nothing other
>than I didn't retrieve anything.  bStr comes up null.  Any ideas?
>
>public int this_onBeforeExecuteEvent(CSpDataObjectEvent event)
>  {
>     CSpMultiSQL doDest;
>
>     if(getExecutingQueryType() == SELECT_QUERY_TYPE)
>     {
>       CSpString bStr;
>       CSpMultiSQL doSrc =  (CSpMultiSQL)CSpider.getDataObject
>("doTIF_Edit");
>       CSpLog.send(this, CSpLog.CRITICAL, "*****getting dynamic criteria =");
>       bStr = new
>SpString( doSrc.getDynamicCriteria(CSpCriteriaSQLObject.JOIN_CRITERIA_TYPE))
>;
>       CSpLog.send(this, CSpLog.CRITICAL, "*****dynamic criteria =" + bStr);
>       CSpider.putUserSessionObject("sDynamicCriteriaSave", bStr);
>       return (PROCEED);
>     }
>
>
>
>_________________________________________________________________________
>
>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]

Reply via email to