V11.0.003 Picture problem 1
Posted: Tue Feb 15, 2005 8:47 am
I just upgraded from v10 to V11 and applied the patch 11.0.003____This doesn^t work anymore while it worked just fine before: ____I have a calculated field with this expression____CASE(CASTATUS,"X", "termine.bmp", "O","inexplo.bmp", "*","neve.bmp", "/","repere.bmp", "?","inconnu.bmp", "inconnu.bmp")____This field is used as a "Picture from field" in the report. ____Basically it looks up the value of the field CASTATUS in the DBF, and depending of the value, it chooses 1 out of 5 BMP files that are present in the application dir. The according BMP is printed on the report. ____This does not work anymore, no picture is printed. ____In the REPORT DESIGNER: It only works when I ____a) hardcode the picture path into the CASE statement (but since the reports are ran from within an application which is installed at diffrent workstations with different installation paths, this not an option)____or ____b) set the default image path to the folder where the pics are______IN THE APPLICATION (which uses the R&R DLL) it doesn^t work at all, not even when I do a SetImagedir()to the correct folder______The behaviour as described in the HELP should be:____1. First: R&R has to look into the current dir__2. Then: into the dir that was saved with the report__3. Then: into the default image dir. ______Something seems broken here!________