Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 28th, 2004, 03:58 PM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use two SPs in same report

Can I use two different SPs for the same
report? When I tried to add fields from
the second sp i get an error.

thanks
 
Old July 31st, 2004, 02:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Insure u can, just collapse the SP tree & add ur SPs.
if u got error It bc of ur CR. I got it in CR 9. but its ok in Cr for VS.NET.

Always:),
Hovik Melkomian.
 
Old December 14th, 2004, 02:27 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes it is possible, I use 2 SP's in a single rpt; 1 in Main rpt, 1 in Subreport, and 2nd Subreport uses 2 std tables (Oracle Backend w/ ASP.Net in VS 2003 and CR 10 loaded after VS.Net 2003).

The only funky issue was setting the login credentials via code. I had to switch to the ReportDocument object model instead of the crViewer object model after applying SP2 to my CR10 embedded in VS.Net 2003.

HTH

ThotWorks





Similar Threads
Thread Thread Starter Forum Replies Last Post
reset links main-report to sub-report from c#.net epanyun Crystal Reports 0 April 18th, 2008 02:41 AM
how can i add report to report viewer in asp.net wael_e BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 0 February 19th, 2008 03:19 PM
Using multiple SPs in one "Execute SQL Task" yukito SQL Server DTS 2 January 3rd, 2008 12:53 AM
Tree View Control host in SPS Ram Naresh General .NET 0 July 10th, 2006 05:07 AM
Login fail Err when view report on Report Server dillig BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 July 22nd, 2004 05:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.