Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JPEG's sometimes fail in reports
Message
 
À
24/07/2002 09:47:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00677600
Message ID:
00682031
Vues:
28
We had an employee photo directory that was using a GENERAL field and the DBF was huge and it took forever to print. So what I did was save the path in a field of the database using a filenaming convention (i.e. lastname_first.bmp) then I placed an OLE control on the report and told it to take the "Picture From" the following FILE ->

iif(file(photo_path), photo_path,"S:\photos\employee\blank.bmp")

where "Photo_Path" is the field and the BLANK.BMP is in case the BMP is not there for that employee, then it won't print "file not found" on the report, but rather just a blank.

Also, I found out that JPG's won't work, so I convert them to BMP for this.

Hope this helps,
Doug Symes
Interconnect Wiring,LP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform