Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Data source for a crystal report

Posted on 2011-03-15
4
Medium Priority
?
243 Views
Last Modified: 2012-05-11
I have a dataset in my C# program.  In the dataset there is a customer table adapter with a query called fillbyJournal.  I would like to use this query as a datasource for a Crystal report.  Currently is has a stored procedure as it datasource but I can't figure out how to keep it from asking for a password when I open it.

Any help would be appreciated!!!

Jerry
0
Comment
Question by:JDL129
  • 2
  • 2
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 375 total points
ID: 35143544
You have to build the report to use a dataset that is passed in.  If you start with a database Crystal remembers that and always wants to login in.

Here is an example
http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx

mlmcc
0
 

Author Closing Comment

by:JDL129
ID: 35164566
Sorry for the B grade but you don't get an A if I have to dig out the answer from a link.  There is never the exact scenario.

Thanks for the reply.

Jerry
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 35165452
Since it is against EE rules to copy and paste from a copyrighted source, pasting the link is the appropriate action.

mlmcc
0
 

Author Comment

by:JDL129
ID: 35169451
I just asked for information on how to do it.  I wouldn't expect you to break EE rules.

Sorry,
Jerry
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question