Showing results for 
Search instead for 
Did you mean: 

Change physical location of a subreport file at runtime

0 Kudos


I have some reports that was created at one location but upon install they are at another location.

When I change something on a subreport it does not update for the main report, I found out this was due to main report not seeing the updated subreport due to it not being at the same location they was originally created at.

Is there a way at runtime to change where the main report looks for the subreports location to update?

Something like mainreport.subreport.location = ....

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Joseph,

There is, go to the download wiki page:

Upgrade to SP 24, not require but recommended.

On that page I wrote a test app for parameters:


In this section:

private void ReportObjectComboBox1_SelectedIndexChanged(object sender, EventArgs e)

There is a Subreport routine that gets if the subreport was set to Imported, you can use it to set the new location.


PS - I added CR for VS tag, don't sue CR SDK tag, it's for legacy SDK's.

Answers (0)