?
Solved

Changing intregrated crystal report database location and tables

Posted on 2011-03-22
2
Medium Priority
?
643 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
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
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

569 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