开发者

Crystal Report 10.5, set selection formula

开发者 https://www.devze.com 2023-02-22 10:00 出处:网络
I am using Crystal Report 10.5.3700.0. I have created a report which is using stored procedure. Now from vb.net code (in VS2005) I set the selection formula like:

I am using Crystal Report 10.5.3700.0. I have created a report which is using stored procedure. Now from vb.net code (in VS2005) I set the selection formula like:

proSaleByPerson;1.PersonsId=1

But when the report开发者_开发知识库 load its giving following error "Query Engine Error 'ADO Error Code:0x'", Failed to open a rowset.

Keep in mind that all other reports are working fine only that reports create problem which are using stored procedure, when setting the selection formula.


Try inserting the line "SET NOCOUNT ON" as the first line of your stored procedure.

0

精彩评论

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