Set Relative path instead of absolute path

Posted by: ashna.asif on 3 October 2019, 12:22 am EST

    • Post Options:
    • Link

    Posted 3 October 2019, 12:22 am EST

    Hi,

    How can I set relative path for Database connection, Subreports etc.

    Thanks

  • Posted 3 October 2019, 8:36 pm EST

    Hello,

    You can specify the relative path for data sources, based on the current location of the report.

    If you place a report and a database at the same location, you can simply specify the name of the file in the Report Data Source reference tab.

    Likewise, if a subreport is placed in an internal directory as in the case of the attached files, you can specify the relative path as: Subreport\Subreport.rdlx.

    Regards,

    Esha

    Reports.zip

  • Posted 8 October 2019, 4:56 pm EST - Updated 30 September 2022, 6:44 am EST

    Hi,

    I tried the above mentioned approach in a Page Report. I just moved the db into the same folder as my page report and provided only the name of the db file. I did not get the desired result. Instead I got an error PFA.(Result of two attmpts) Please guide me if I am missing out on something here.

  • Posted 9 October 2019, 5:06 pm EST

    Hello.

    If the database is at the same location, this error should not occur. Please refer the attached gif showing the similar situation, where the report renders fine when the report and database are at the same location.

    Let me know if you follow any different steps.

    Regards,

    Esha

    Path.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels