loudandclear
Programmer
Hi,
I have this SP:
CREATE Procedure sp_LCInsertSelection
(
@DisplayName varchar(100),
@LetterTypeID Int,
@Directory varchar(150),
@TargetGroupID Int,
@AdminID Int )
As
Insert into LCSelection
(DisplayName, LetterTypeID, Directory, TargetGroupID, AdminID)
Values (@DisplayName, @LetterTypeID, @Directory, @TargetGroupID, @AdminID)
Select 0 as ErrorCode, SelectionID = @@Identity
return
GO
For some reason, I cant reach the returned recordset from ADO, it is always closed. But the data gets inserted all right. I am using ADO 2.6.
What sould I do reach the returned RS ?
Chris
I have this SP:
CREATE Procedure sp_LCInsertSelection
(
@DisplayName varchar(100),
@LetterTypeID Int,
@Directory varchar(150),
@TargetGroupID Int,
@AdminID Int )
As
Insert into LCSelection
(DisplayName, LetterTypeID, Directory, TargetGroupID, AdminID)
Values (@DisplayName, @LetterTypeID, @Directory, @TargetGroupID, @AdminID)
Select 0 as ErrorCode, SelectionID = @@Identity
return
GO
For some reason, I cant reach the returned recordset from ADO, it is always closed. But the data gets inserted all right. I am using ADO 2.6.
What sould I do reach the returned RS ?
Chris