Posted: Mon Nov 14, 2005 2:00 pm Post subject: Problem using passthru returning cursor in called function
Apprentice
Joined: 05 Jan 2002 Posts: 39
I am probably doing something pretty silly but I can't get it... It works in regular esql but can't get it to work in called function.
I have a passthru which calls a stored procedure which returns a cursor contain 2 columns. I need it to return to an array. So in my esql - it worked just fine when I returned to Environment.resultSet - my 2 columns were returned as Environment.resultSet.fieldA, and Environment.resultSet.fieldB
When I move the code to a function - I can't use Environment, I can't define a field as an 'array' - when I define resultSet as Character - and the passthru returns a list - I get an error trying to put list into character field.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum