Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report design for variable images 1

Status
Not open for further replies.

jimstarr

Programmer
Feb 6, 2001
975
US
I'm designing a report that will display an image (jpeg). The image actually used will be a function of the language the app is being run in. So there are about 15 possible images that could be displayed in the designated spot on the report. What's the best way to handle this? (VFP9)

(In fact there are about 25 such images on the report.)

Thanks in advance,
Jim
 
Hi Jim,

In your calling program, create a private variable. Store the name of the image file that you want to use in this variable.

In the report, add a Picture/OLE field. In its properties, set "Control source type" to "Expression or variable name". Set "Control Source" to the name of the above private variable.

Provided the private variable is in scope when you run the report, that should give you what you want.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top