LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

I want to call Stored Procedure that return records and output parameter, from CVI

I can get output parrameter but when I want to get records stream I recieve following wrror:

function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

 

0 Kudos
Message 1 of 2
(3,768 Views)

in Stored procedure I create table variable and and insert into string values

when I remove usage of table variable the error desappear

0 Kudos
Message 2 of 2
(3,754 Views)