R
Rajat
Hi,
I have a stored procedure that returns a one-record, one-
field recordset off a SELECT statement.
I need to be able to return this value from the stored
procedure as an integer.
In VBA, I would have done the following:
*************************************************
Set rs = db.OpenRecordset(strSQL, dbOpenForwardOnly,
dbReadOnly)
If rs.RecordCount = 0 Then
intLaptopCount = 0
Else
intLaptopCount = rs![LaptopCount]
End If
***************************************************
Thanks,
Rajat
I have a stored procedure that returns a one-record, one-
field recordset off a SELECT statement.
I need to be able to return this value from the stored
procedure as an integer.
In VBA, I would have done the following:
*************************************************
Set rs = db.OpenRecordset(strSQL, dbOpenForwardOnly,
dbReadOnly)
If rs.RecordCount = 0 Then
intLaptopCount = 0
Else
intLaptopCount = rs![LaptopCount]
End If
***************************************************
Thanks,
Rajat