File References in an Production Reporting Program

When an Production Reporting program has references to image files or include files, the files must reside on the server when the report executes. If the image and include files are not already on the server, use RemotePut (Method) to copy them to the server before executing the report.

Reference the image or include files in an Production Reporting program with filenames that are recognizable by the server operating system. Do not use the local PC filenames. However, you can write an Production Reporting program so that you can use the specific filenames on both the PC and the server. For example:

#if {sqr-platform} = 'WINDOWS'
#include 'C:\SQR\INCLUDE\MYFILE.SQI'
#else
#include '/sqr/include/myfile.sqi'
#endif