Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing JPEGS on reports - how??? - VFP6
Message
De
13/11/1999 11:31:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00290870
Message ID:
00290936
Vues:
23
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform