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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print graphic objects on report, from data field or use of pointer?

Status
Not open for further replies.

act1hero

Programmer
Dec 18, 2000
4
US
I would like to print a drawing along with text information on a report. If I put the object into a general field (ie. 'XXXXX.pdf') it prints the icon instead of the contents and then prints the contents on another page. What is the best way to create pointers to .pdfs,.gifs,
.bmps,.jpgs. and what syntax do I use in the field and on the report form? I have had success placing the drawing directly in the report form and printing that, but I need to have the drawing change according to the correct part information it represents as well as change if there are updates to the drawing object file itself. I am new to VFP, although have worked in Fox since foxplus began, and am just getting used to the new commands and syntax. Can anyone help? It's critical!
 
Well, never mind everyone, I figured it out. I created a character field in my table and just placed the path and name of the drawing file in it. In the program, I stored the field to a variable and then referenced that variable in the report picture field in the "file" box. It works great for ".gifs". Doesn't want to work for ".pdfs". If anyone has a suggestion for that, let me know... Thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top