For reports we use the DevExpress report editor provided by Thinkwise.
The report files are uploaded in the SF.
As a result, TW automatically creates files in the report cache folder with the name "title of report"_"reportfilename".repx.
In our application we make use of both direct printing and the possibility for users to view a report in preview mode.
Reports made from 1 part work fine in both modes. But the preview mode does not work for reports that consist of a main report and 1 or more subreports.
When linking in the DevExpress report designer to the subreports, the "reportfilename" is used. However, this file name cannot be found in the cache folder, causing the error message 'Could not find file 'XXXXX\Cache\Images\YYY\Raport\reportfilename.repx'.
A work-around is to restore the files from the cache folder and use them in the report editor (and link to them). But this is very cumbersome and error-prone, so undesirable.
We use the reports using the Windows GUI.
Is there any other way we can fix the error when using subreports in preview mode?
And can it be indicated why this file name is used in the cache folder in that way anyway?
Thanks for the info