The following Report Writer example demonstrates how it is possible to show different logo images on a report based on a defined condition.
The Report Writer was used to create a custom report which has two logos on it. Then each logo covered with a string conditional calculated field, which has the background and foreground color set to white and the field mode of Hide When Empty. Then the condition is added to either set the field to a character (I used period/full stop) or empty. This causes the logo to be covered or exposed. The second calculated field uses the reversed condition.
This example code can be used to show how the technique works. Also have a look at the posting Company Logos on Reports for more information on this subject.
NOTE: This technique works when the logos are in different locations on the page.
Please refer to the following Knowledge Base (KB) article when adding graphics to a report:
How to prevent the image quality of a graphic from being reduced when you print a graphic from Report Writer in Microsoft Dynamics GP (KB 854470)
Example code for v8.0, v9.0 & v10.0 is attached at the bottom of the article.
Please see the "Installation Instructions.txt" file in each version's archive for more information.
PingBack from http://blogs.msdn.com/developingfordynamicsgp/archive/2008/07/17/company-logos-on-reports.aspx
Posting from About Dynamics, Development and Life (Jivtesh Singh's Blog)
Posting from Dynamics GP Blogster
Posting from DynamicAccounting.net
PLEASE READ BEFORE POSTING
Please only post comments relating to the topic of this page.
If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.