Trouble with Pictures in Runtime
-
- Posts: 2
- Joined: Tue Oct 10, 2017 12:44 pm
Trouble with Pictures in Runtime
Greetings,____We create a report in which a product image is displayed along with data detail. Our program always renames the image to TEMP.JPG for consistency before calling the report. The only problem we are having is that the RRW Designer is forcing us to input a Drive and Directory name specifier along with the TEMP.JPG image name in order for the image to be inserted into the report. This causes an error if our end user installs our application into any directory other than that named when we created the report. I tried to just put the filename TEMP.JPG (without drivedirectory) in as we place always this file in the same location as the report.RRW we are calling, but the designer just won^t allow it.____Is there a way to tell the report to just look in the report/current directory for the image? How do we design this report without having to hard code in a drive and directory?____Thanks,____Josh
=> Trouble with Pictures in Runtime
You can set the default image folder by using the IMGDIR setting in the DEFAULTS section of RRW.INI. You can place the INI in the same folder as RRWRUN.EXE.__R&R uses the default image folder when it cannot find an image file in the location that was saved with the report.____Kathleen__R&R Support