Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display image stored in TEXT field
Message
De
23/03/2016 14:32:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01633603
Message ID:
01633639
Vues:
55
unfortunatly i dont know Crystal report.
for creating image from a blob field, VFP9 uses the pictureVAl property introduced in vfp9(with gdiplus)
there is 2 ways to show an image in a control image on a form:

1.general method
local xpict
m.xPict = FILETOSTR(getpict())  &&can be stored in a blob field in table for ex.
thisForm.Image1.PictureVal =m.xPict
2.if the picture extension is BMP,ICO,metafile WMF or even JPG can use also
loca xpict
m.xPict = loadPicture(getpict())
thisForm.Image1.PictureVal =m.xPict

googling you can see this interesting link (see chapter;Blobs and similar fields)
http://www.hexcentral.com/articles/crystal-images.htm

can google this string 'display blob image in crystal report' there is many sources.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform