Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

$
0
0

Hi,

Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application"Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.

Can any One check any pblm with this query

ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
BEGIN
IF ISNULL(@intSchemeID,0) <> 0  
BEGIN
Select* From table
END 
ELSE IF ISNULL(@intSchemeID,0) = 0  
BEGIN
Select 
END 
END

When I comment the above codes , report works fine....

Can any one help me....plz....I m in such a critical situation...


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>