Solved

Data source for a crystal report

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

Suggested Solutions

Title # Comments Views Activity
How can i use linq for parsing string datetime to real datetime? 16 44
Printing 1 50
shared number array to be used in subreport 8 22
C# Gridview 1 28
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this article I will describe the Backup & Restore 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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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