How to set the path for "uses" directive in report script

We have lots of reports sharing common script-code, connected to each reports by the "uses" directive in the script editor.

The 'MyScripts.pas' file containing the code is located in the same folder as our applications .exe-files.

Our problem is that sometimes we loose contact with the .pas-file, and the report returns 'cannot open file c:\.......\MyScripts.pas. The system can not find the file specified' when executed.
The path in the error message is some weird place, like the Thunderbird (email) folder, our the 'windows\system32'. I see that the system can be pointed to theese locations by activity in our application, but what we can't figure is how to set the path fixed som that the report always finds its .pas-file.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.