[AccessD] Report Replacing Text with Image

John Bodin jbodin at sbor.com
Sun Mar 27 17:12:33 CDT 2016


Hi David,

I seem to remember Stephen Lebans had something that would allow you to do this but there was a limitation as to where the picture was to be placed (like text could not wrap around it or something like that.)  That would be old Code as he stopped doing Access a while ago.  I used it in an app some time ago (http://www.lebans.com/richtext.htm)

Had this in a .Net link that might give some insight into RTF fields (too much for me)

http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R

Good luck,

John

-----Original Message-----
From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson
Sent: Sunday, March 27, 2016 5:31 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Report Replacing Text with Image

Hi Listers,

 

Access 2013, SQL 2012 BE.

 

I have a report with a subreport.  The subreport is a continuous report with a single field representing a paragraph of text.  The data is stored in Rich Text format.  In the middle of one of the paragraphs is the text "{Image}".
When the report is printed I want the text "{Image}" to be replaced with an actual image.  The image is the same for all reports.  However the location of the paragraph on the report is not fixed as it depends on what paragraphs are selected for the report.

 

Any suggestions how I can achieve this?

 

 

 

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list