Solved

Changing intregrated crystal report database location and tables

Posted on 2011-03-22
2
631 Views
Last Modified: 2012-05-11
I have a report that is attached to a static Dataset and DataTable.  I would like to know how to change the reports data location at run time to a dynaicaly created dataset which is created at runtime.
0
Comment
Question by:Jam9974
  • 2
2 Comments
 

Accepted Solution

by:
Jam9974 earned 0 total points
ID: 35189229
never mind I answered my own question.

just added the line,
rpt.Database.Tables[0].Location = AppSettingInfo.PublicDataSet.Tables["DataTable1"].TableName;
0
 

Author Closing Comment

by:Jam9974
ID: 35189237
resolved my own problem
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now