开发者

SP from SQL Server 2005 is not returning records in recordset (VB6)

SP from SQL Server 2005 is not returning the records in recordSet (VB6) recored return are -1. If access the recors using query and through record set, record set are filli开发者_如何学运维ng with records. Same connection string is used. I chek properly and there is no issue in code written for command object, then what is the wrong?


Make sure your CursorLocation property on your recordset is set to adUseClient

Set rs = New ADODB.Recordset
rs.CursorLocation = adUseClient
rs.CursorType = adOpenStatic
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜