Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing JPEGS on reports - how??? - VFP6
Message
From
13/11/1999 11:31:18
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00290870
Message ID:
00290936
Views:
24
>>Can VFP6 show JPEGs on a report? I know that I can show bitmaps, via a general field...
>
>Yes, just use the OLE Picture/ActiveX bound control on the report toolbar. It supports JPEG format.

But the picture file will have to be imbedded in the table, not just pointed to with a path.

Michael, I think this is your best bet still. You can create a temorary cursor before running the report, append in the contents of the link to each record in the new cursor. If you are trying to print every badge at once, and the picture files are significantly sized, this will take a while...

Create a report with whatever emplyee information, and drop the ActiveX container control on it from the report controls toolbar, and select field for source. And just put the name of the field in your temprary cursor.
<br>USE MyEmployeeFile<br>CREATE CURSOR TmpBadges (EmpName C(6), EmpPicture G)<br>SELE MyEmployeeFile<br>SCAN<br> SELE tmpBadges<br> APPEND BLANK <br> REPLACE EmpName WITH MyEmployeeFile.EmpName<br> APPEND GENERAL EmpPicture FROM (MyEmployeeFile.PicturePath)<br>ENDSCAN<br><br>REPORT FORM Badges<br>
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform