Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image into Report
Message
From
23/11/2005 10:52:39
 
 
To
23/11/2005 10:35:59
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063943
Message ID:
01071603
Views:
24
>I have the pictures of 90% articles not all. In this case what to do ? And also where to add the code ?
>
>Saif

Change
"d:\coolpos\pictures\" + alltrim(code) + ".jpg"
to
iif(file("d:\coolpos\pictures\" + alltrim(code) + ".jpg"),"d:\coolpos\pictures\" + alltrim(code) + ".jpg","")
You put this in the Control source textbox in the properties for the control.

And add this code to the "Print when", "Print only when expression is true:" of the picture control
file("d:\coolpos\pictures\" + alltrim(code) + ".jpg")
Previous
Reply
Map
View

Click here to load this message in the networking platform