John,
Is the image in a relative path to the report. The image needs to be on the disk, not in the executable. *(unless you copy it out)*
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of John Weller Sent: Monday, August 07, 2017 2:00 PM To: profoxtech@leafe.com Subject: Report Anomaly
I have written a membership system for a local organisation. I decided to add a facility to email a membership card to a member instead of posting it. I created a report which consists of a jpg image containing the background and base text, a scan of the original blank card, with 3 fields superimposed to hold name, membership no and expiry date. The image is in the page header section as it uses global variables for the data; I tried putting it in the body and using a single record cursor but the system insisted on producing three cards on the same sheet for some reason. The card is produced as a PDF using FoxyPreviewer and sent as an attachment. When I run it from VFP as an app it works perfectly but when I run it from the exe the report contains the data but not the background image.
I'm baffled! Any suggestions would be gratefully received :-)
John
John Weller 01380 723235 07976 393631
[excessive quoting removed by server]