Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmap on a report
Message
De
01/05/1998 16:03:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00096396
Message ID:
00096400
Vues:
15
>I am using VFP 3.0B for Windows.
>
>I have a bitmap image of each of our patients in our database. I would like to print this image out with demographic data in a report. I am stuck for how to do this. The image/ole control (in the report editor) does not seem to have properties like that of its sister control for forms.
>
>I store each patients bitmap in its own file with a unique name. In a form I can display the bitmap for a given patient by setting the "picture" property of the image control.
>
>How does one do this for a report? The image control in the report seem to only be for things that are static (like company logos) and not dynamic (like patient data).
>
>Any ideas?

Add 'Report Picture' field and type GetBMPFile() in 'Picture from file' dialog. GetBMPFile() is your function which will return path+file name of appropriate bitmap:
function getbmpfile()
if id>3
	return "d:\vfp5\fox.bmp"
else
	return "c:\cuerun\bmi_cue.bmp"
endif	
endfunc
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform