Solved JPG Images to Report

Discussion forum about all things Team Developer 5.x and 6.x
lfonda
Italy
Posts: 16
Joined: 13 Apr 2017, 14:40
Location: Italy

JPG Images to Report

Post by lfonda » 29 Oct 2017, 16:48

I'm using Team Developer Version 6.1-SP3r Build 34099. I retrieve a JPG image ( Binary type, Long String doesn't work ) from database, that precisely displays on forms. But how can I print a Binary variable on Report Builder ? Both SalReportSetStringVar
and SalReportSetObjectVar accept only string. Is there a workaroud to bypass this problem ?

Thanks
lfonda

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1083
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

JPG Images to Report

Post by Dave Rabelink » 29 Oct 2017, 20:24

You could try to cast the binary variable to a string variable.

Read this:

http://wiki.tdcommunity.net/index.php?t ... ng_casting
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

lfonda
Italy
Posts: 16
Joined: 13 Apr 2017, 14:40
Location: Italy

JPG Images to Report

Post by lfonda » 30 Oct 2017, 08:04

Thank you very much. It works fine.

lfonda

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests