Sub reports with relative file path
Sub reports with relative file path
Hey, I cannot find a way to embed a sub report using a relative path to a local file. Only absolute paths seem to work. The reason I need this is so that the report files can be moved to another directory.
-
Lech Kulikowski
- Posts: 7781
- Joined: Tue Mar 20, 2018 5:34 am
Re: Sub reports with relative file path
Hello,
Could you explain your task in more detail? How do you run the report - is it viewer, designer, from code, etc?
Thank you.
Could you explain your task in more detail? How do you run the report - is it viewer, designer, from code, etc?
Thank you.
Re: Sub reports with relative file path
We have reports that we deliver to our customers. They are referencing sub reports. The sub reports always are in the same folder in relation to the main report. But the absolute path can be different for every customer installation. That's why the path to the sub report cannot be saved as an absolute path, but must be relative instead. But Stimulsoft cannot resolve relative paths, I think because it's using WebClient internally even for local files.
We run the report both in the designer as well as from code (to export it to PDF).
We run the report both in the designer as well as from code (to export it to PDF).
-
Lech Kulikowski
- Posts: 7781
- Joined: Tue Mar 20, 2018 5:34 am
Re: Sub reports with relative file path
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
-
Lech Kulikowski
- Posts: 7781
- Joined: Tue Mar 20, 2018 5:34 am
Re: Sub reports with relative file path
Hello,
Thank you for the suggestion.
Thank you for the suggestion.
-
Lech Kulikowski
- Posts: 7781
- Joined: Tue Mar 20, 2018 5:34 am
Re: Sub reports with relative file path
Hello,
Thank you for the suggestion.
Thank you for the suggestion.