Microsoft Dynamics GP Developing for Dynamics GP
A blog dedicated to the Microsoft Dynamics GP Developer & Consultant community
 
Welcome to MSDN Blogs Sign in | Join | Help

Developing for Dynamics GP

by David Musgrave (Australia) and the Microsoft Dynamics GP Developer Support Team (USA)

News

  • Please use the Blog Feedback? - Contact Us link at the top of the page to email questions relating to the blog itself.

    If you wish to ask a technical question, please use the links below to ask on the Newsgroups. If you ask on the Newsgroups, others in the community can respond and the answers are available for everyone in the future.

    Please do not use comments on pages and posts to ask questions unrelated to the topic on that page or post.



    Dates of Interest:

    11-Jul-2008: Blog Created by David Musgrave.
    10-Oct-2008: First Post by Scott Stephenson.
    04-Nov-2008: First Post by Dave Dusek.
    11-Nov-2008: First Post by Beth Gardner.
    28-Nov-2008: First Post by Chris Roehrich.
    30-Dec-2008: First Post by Patrick Roth.
    24-Feb-2009: First Post by Greg Willson.
    22-Apr-2009: First Post by David Clauson.
    04-May-2009: First Post by Ryan Wigestrand.
    19-Jun-2009: First Post by Dawn Langlie.
    03-Jul-2009: First Post by Emily Halvorson.



    WorldMaps Statistics since
    24-Feb-2009:






    Translator Tool:




    Disclaimer

    This blog is provided "AS IS" with no warranties, and confers no rights.

    The links in this blog may lead to third-party Web sites. Microsoft provides third-party resources to help you find customer service and/or technical support resources. Information at these sites may change without notice. Microsoft is not responsible for the content at any third-party Web sites and does not guarantee the accuracy of third-party information.

Contents

Favourite Posts

Blog Links

Newsgroups Links

Resources Links

RW - Conditional Logos Example

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) Secure Link

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.

Posted: Tuesday, July 15, 2008 11:36 AM by David Musgrave
Filed under: ,

Attachment(s): Conditional Logos.zip

Comments

David Musgrave said:

Posting from About Dynamics, Development and Life (Jivtesh Singh's Blog)

http://www.jivtesh.com/2008/07/conditional-logo-example-from-david.html

# August 4, 2008 12:57 PM

David Musgrave said:

# August 4, 2008 1:08 PM

David Musgrave said:

# August 28, 2008 8:35 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker