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.
    23-Sep-2009: Created Twitter account with blog feed.
    20-Nov-2009: First Post by Alice Newsam.



    WorldMaps Statistics since
    24-Feb-2009:




    Click for WorldMaps Stumbler



    Translator Tool:




    Social Networking

    Follow David Musgrave and the blog on:

    David Musgrave on Twitter

    David Musgrave on LinkedIn


    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

Modifying Reports which use Temporary Tables

I often get told that it is impossible to customize a report which uses a temporary table, and in particular a temporary table which uses single fields for multiple purposes. While I admit that these reports are more challenging to customize they are far from impossible.

Usually, the temporary tables use some sort of sequence number field to help define what each of the generic fields are being used for.  Start by adding all the fields from the temporary table to the report so you can see how they used.

Creating relationships from a temporary table to another table is sometimes possible, if the required key fields are available as non-generic fields.  If this is not the case you can use VBA to access the SQL data via ActiveX Data Objects (ADO) and a Transact-SQL query based on the data available to you from report fields and/or fields from tables already linked to the report.

Please see the posting VBA - Accessing any SQL data from a Report Example for an example.

In summary, VBA can be used to make the impossible.... well.... possible.

Posted: Thursday, July 17, 2008 12:01 PM by David Musgrave
Filed under: , ,

Comments

David Musgrave said:

# August 4, 2008 1:01 PM

Developing for Dynamics GP said:

Most people are aware that you can use Visual Basic for Applications (VBA) with Microsoft Dynamics GP

# October 30, 2008 2:14 AM

Developing for Dynamics GP said:

One of biggest issues people have with the Microsoft Dynamics GP Report Writer is not being able to create

# May 17, 2009 8:54 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: 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