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]