Just a thought, but if you refer to an array in other Witango calls, they are
called this way
array='request$vsqlstatement'
NOT
array='@@request$vsqlstatement'
That is, Witango is looking for an array as a variable, and therefore the <@var
or @@ is presumed already and you will (typically) get the "request$__t28"
sort of response when you miscall an array.
If you're still having issues using Bill's format, try changing it by calling
the arrays that way and see if that fixes things.
On Feb 24, 2010, at 1:22 PM, Bill Downall wrote:
> Ted,
>
> Try:
>
> <@callmethod object='domain$vInfogatherobj'
> method='sqlarray("@@reqeust$vsqlstatement", "<@varparam name=vArrayOut
> scope=request>")' methodtype='invoke'>
>
> Bill
> On Wed, Feb 24, 2010 at 12:15 PM, Ted Wolfley <[email protected]> wrote:
>
> I am trying to convert some method actions to the <@callmethod> tag with
> parameters but I cannot get the results into a variable. The <@callmethod>
> tag without parameters works fine.
>
> Here is my object creation, query being used and the method call:
>
> <@ASSIGN NAME="varrayout" VALUE='<@CALLMETHOD OBJECT="vInfogatherobj"
> SCOPE="Domain" METHOD="sqlarray(@@request$vsqlstatement,)" METHODTYPE="get">'
> SCOPE="request">
>
> The method action takes 2 parameters (an input and an output),
> @@request$vsqlstatement and @@request$varrayout
>
> I’ve tried
>
> <@ASSIGN NAME="varrayout" VALUE='<@CALLMETHOD OBJECT="vInfogatherobj"
> SCOPE="Domain" METHOD="sqlarray(<@VARPARAM NAME=vsqlstatement
> scope=request>)" METHODTYPE="invoke">' SCOPE="request">
>
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf