PDA

View Full Version : Passing new Array TYpe to a ASP call



Franco
7-Sep-2005, 10:31 AM
Hello

Working With WBO and ASP I trying to receive from a WBO function an Array
like this:


4381
// WBO oDocViews
Function DocFromCat Integer idCat Returns Integer[]
integer [] iarray

.........
function_return iarray
end_function


Send RegisterInterface get_DocFromCat
"get_DocFromCat" "Integer idCat Returns array" ""


// ASP

Dim myArray
myArray = Array()
myArray = oDocViews.call ("get_DocFromCat",idCat)

When I call DocFromCat I get error 4381.

What I wrong? it's possible to do it?

regards
Franco Spinella
DATAFLEX SERVICE ITALIA SRL

Franco
11-Sep-2005, 05:09 AM
Hello

I saw that maybe notbody make expereince on this argument.

So maybe somebody from DAW people can say something about this problem, just
if there is a way tio can move ARRAY from WBO to ASP.
If not, I think that this should be something to correct for next VDF
release

regards
Franco Spinella
DATAFLEX SERVICE ITALIA SRL

scritto nel messaggio news:hJAMmC8sFHA.1304@dacmail.dataaccess.com...
> Hello
>
> Working With WBO and ASP I trying to receive from a WBO function an Array
> like this:
>
>
> 4381
> // WBO oDocViews
> Function DocFromCat Integer idCat Returns Integer[]
> integer [] iarray
>
> .........
> function_return iarray
> end_function
>
>
> Send RegisterInterface get_DocFromCat
> "get_DocFromCat" "Integer idCat Returns array" ""
>
>
> // ASP
>
> Dim myArray
> myArray = Array()
> myArray = oDocViews.call ("get_DocFromCat",idCat)
>
> When I call DocFromCat I get error 4381.
>
> What I wrong? it's possible to do it?
>
> regards
> Franco Spinella
> DATAFLEX SERVICE ITALIA SRL
>
>
>

David Martinko
14-Sep-2005, 08:46 AM
guess I'll give it a shot. Try changing to passing an array by ref and
return a success/failure.

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com

"Franco" <Franco-s@dataflex.it> wrote in message
news:WAozpFTuFHA.1276@dacmail.dataaccess.com...
> Hello
>
> I saw that maybe notbody make expereince on this argument.
>
> So maybe somebody from DAW people can say something about this problem,
> just if there is a way tio can move ARRAY from WBO to ASP.
> If not, I think that this should be something to correct for next VDF
> release
>
> regards
> Franco Spinella
> DATAFLEX SERVICE ITALIA SRL
>
> scritto nel messaggio news:hJAMmC8sFHA.1304@dacmail.dataaccess.com...
>> Hello
>>
>> Working With WBO and ASP I trying to receive from a WBO function an Array
>> like this:
>>
>>
>> 4381
>> // WBO oDocViews
>> Function DocFromCat Integer idCat Returns
>> Integer[]
>> integer [] iarray
>>
>> .........
>> function_return iarray
>> end_function
>>
>>
>> Send RegisterInterface get_DocFromCat
>> "get_DocFromCat" "Integer idCat Returns array" ""
>>
>>
>> // ASP
>>
>> Dim myArray
>> myArray = Array()
>> myArray = oDocViews.call ("get_DocFromCat",idCat)
>>
>> When I call DocFromCat I get error 4381.
>>
>> What I wrong? it's possible to do it?
>>
>> regards
>> Franco Spinella
>> DATAFLEX SERVICE ITALIA SRL
>>
>>
>>
>
>