Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending a JPG into a general field
Message
From
05/01/2007 18:27:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181794
Message ID:
01183018
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>Having downloaded an updated copy of the software from IDAutomation today, I am no longer having the error with the JPG file, and I now do not need the General field. Now I have a new problem:
>
>How do you get a different JPG to print for each record in the table? I was given one set of instructions which involved creating an image object and then running an ExecScript command as the "On-Entry Run" expression, but I get nothing on the report. I can see the object when I modify the report, but nothing shows in preview or print.
>
>I can put a JPG directly into an OLE Bound object, but it obviously needs to be a different one for each record. What is the simplest way to do so?

Assuming you store fullpath and filename of the jpg (or any other image file) in your report cursor's "myImageFile" field (memo to accomodate long paths) in your report:
-Add olebound/picture contol and size it.
-Set file to:
(myImageFile)
parentheses are important. Add any other report fields.
-Run the report

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform