The Session inputs (Parameters and Environ) settings can be set either of two ways.

The following example expands on the second method:

m_Session.ParamList = "Var1=data1,Var2=data2"

m_Session.ParamListCount = 2

or

m_Session.Param(“Var1?) = "data1"

m_Session.Param(“Var2?) = "data2";

 

This style is also available on the OutputParameters. The output parameters can be retrieved (using VB) as follows, assuming the output parameters are ("outParm1=Outval1")

MyParamList = m_Session.ParamList

MyParamList will have value  "outParm1=OutVal1" or P1$ = m_Session.ParamOut("outParm1")

P1$ will have value "Outval1"

Comment on this topic

Topic ID: 540138