MFritts253
MIS
Because the weird situation this report required i had to build some helper tables to get things in the format in need from my T-SQL.
My stored procedure looks like this:
BEGIN
EXEC dbo.Keep_Agr_IDs @Number = @Week
END
BEGIN
EXEC Keep_Data
END
BEGIN
Select *
FROM Keep_Table_ALL
END
Each time it this proc is Run i truncate the tables some where in the proc. I know this is not a great practice but the data is imported from another system so there is no sense in keeping it around since each report is specific. I could probley create a an ID for each run and so along with the rest of the data, But i would at first like to know why my crystal report won't get any data when i try to use this procedure. If i run this proc on Query Analyzer i get a result set but when i run this proc in crystal i get nothing and i don't understand why?
Cheers,
Michael
My stored procedure looks like this:
BEGIN
EXEC dbo.Keep_Agr_IDs @Number = @Week
END
BEGIN
EXEC Keep_Data
END
BEGIN
Select *
FROM Keep_Table_ALL
END
Each time it this proc is Run i truncate the tables some where in the proc. I know this is not a great practice but the data is imported from another system so there is no sense in keeping it around since each report is specific. I could probley create a an ID for each run and so along with the rest of the data, But i would at first like to know why my crystal report won't get any data when i try to use this procedure. If i run this proc on Query Analyzer i get a result set but when i run this proc in crystal i get nothing and i don't understand why?
Cheers,
Michael