>>Just looked at the report - it is an image control, but bound to a general field filled like this:
>>
APPEND GENERAL image FROM (lcImage) CLASS LEADSRVR
>>'image' is the name of the general field the picture control is bound to, and Leadsrvr is the name LeadTools uses when it's an OLE server. In your case it would be kodaksomething, I suppose.
>
>Hi Drag,
>
>I don't mean to pester you, but in my case the images are stored as individual tiffs in the hard drive and all the table has is a text field with the path and name of the file.
>
>Exactly where in the report writer should I plug-in the "append general" statement, in the ole-image control's "field" field or in the "variable" field?
OK, trying second time - first one didn't make it, connection refused or something. Here cometh the awful meta-code:
select * from your-original-cursor-or-table;
into cursor temp
use in your-original
use dbf('temp') again in 0 alias your-original
* this is a trick to have your original alias available to the report
use in temp
sele your-original
alter table (dbf()) add column image g
* g or whatever is the type of a general field
scan
append general image from (alltrim(filenamefield)) class YourImgClass
ends
This goes to your report's dataenvironment.init, and you may add some code to cleanup in dataenvironment.destroy if you like.