Solved
Forum Discussion
RUDOLF_BOTHMA
7 years agoCommunity Hero
What does you SP look like. Your sp may actually be returning the result of 0. It could be because you don't have nocount on or the like. If you do, the sp returns two "datasets" and ADO picks up the first one which is just your result
Edit: If this is the case, there are two options off the top of my head:
1. Add SET NOCOUNT ON and off to the SP
2. Allocate the output to a new recordset using sproc.NextRecordset() and use this for your checks/lookups etc.