Solved

Data source for a crystal report

Posted on 2011-03-15
4
239 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 100

Accepted Solution

by:
mlmcc earned 125 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 100

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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