[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 641
  • Last Modified:

Changing intregrated crystal report database location and tables

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
Jam9974
Asked:
Jam9974
  • 2
1 Solution
 
Jam9974Author Commented:
never mind I answered my own question.

just added the line,
rpt.Database.Tables[0].Location = AppSettingInfo.PublicDataSet.Tables["DataTable1"].TableName;
0
 
Jam9974Author Commented:
resolved my own problem
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now