Run Crystal Report in Dynamics GP Using VBA

Dear All,

I was a long time since my last post, that was due to my engagement in managing 3 concurrent projects in two different countries, now I am back with this interesting article.

Allot of GP developers used to ask how to run Crystal Report from GP, all the answers were to use Report Designer Component (RDC) for dexterity along with ReportView.exe and proceed, this is not an easy task to be done if you are not dexterity expert.

In this article I have created a .Net based application that view any crystal report using parameters passed through files.

Now to implement this solution you will need to follow steps below:

1. Download and unzip “Crystal Reports Viewer.zip” from the link below:

http://blog.greatpbs.com/Crystal%20Reports%20Viewer.zip

2. Run “GP Crystal Reports Viewer Setup\setup.exe” to start the installation.

Note: Crystal Report Runtime files and .Net framework should be installed on the client machine, if it’s not then you might need to read files under “CrystalReports” and “dotnetfx” folders.

3. Import “CustomerCard.Package” from Dynamics GP Menu >> Tools >> Customize >> Customization Maintenance.

4. Modify the VBA code to fit your needs.

Please don’t hesitate to post your comments.

Regards,

Mohammad R. Daoud
MVP, MCP, MCBMSP, MCTS, MCBMSS
Software Development Manager
+962 – 79 – 999 65 85
Great Package For Business Solutions
daoudm@greatpbs.com
http://www.greatpbs.com/
http://mohdaoud.blogspot.com/

Advertisements

About Mohammad R. Daoud
Mohammad R. Daoud has been working as a Microsoft Dynamics GP consultant since 2004. His career path started with version 7.5; he studied every single tip of the application technicalities and did allot of successful implementations that includes functional consultations, analysis, and custom development projects. He holds a graduate degree in Computer Science and currently he is pursuing MBA degree in Accounting. In January 2007 he was nominated to the Microsoft Most Valuable Professional (MVP) certificate and was certified in April 2008 due to his online contributions in the Dynamics Community (Dynamics GP Newsgroups, Forums, User Groups and his blog: http://mohdaoud.blogspot.com). Worth to mention that he was also listed as one of the Microsoft Dynamics Top 100 Most Influential People in 2009 by DynamicsWorld. And more... • Demonstrated Passion for MS Products through participating in beta testing for some product versions, an effective member of Microsoft Connect. • Talented in securing strong high quality relationships with premier customers, partners and sales teams passionately and profitably. • Dedicated to meeting the expectations and requirements of internal and/or external customers • Problem Solver – Uses systematic approach to uncover true problem(s) and practical solution and can marshal resources to solve problem! • Proven record of effective account management, including Account Planning, Opportunity Management, and Business Management Excellence and working as part of a larger virtual team • Successful in delivering high quality technical engagements in the enterprise Dynamics GP implementations area according to customer requirements. • Dedicated, Committed, Self Motivated, Creative and highly focused with excellent communication, Negotiation, presentation, Active Listening and Objection Handling skills. • Experienced in Profitable researches and studies including white papers and technical presentations.

6 Responses to Run Crystal Report in Dynamics GP Using VBA

  1. Anonymous says:

    Greetings! Many thanks for the post. We shall give a try!

    Best regards,

    James Keep, PMP
    Crystal Reports Certified Consultant (CRCC)

  2. A says:

    That’s quite an impressive list of certifications you have, Mohammad! Crystal Report scheduler has really gone a long way since its inception.

  3. Anonymous says:

    Mohammad!

    Thanks for the very good blog. However, when I am trying to attach this component, it is giving me error of VBA cannot be initialized. Can you please tell me what I have done wrong.

    Please note that I have already change the VBA as per my requirement.

    Regards
    Sajid Hakeem

  4. Sajid Hakeem says:

    Mohammad!

    Thanks for the very good blog. However, when I am trying to attach this component, it is giving me error of VBA cannot be initialized. Can you please tell me what I have done wrong.

    Please note that I have already change the VBA as per my requirement.

    Regards
    Sajid Hakeem

  5. Anonymous says:

    Hi,

    I try to test your script for, but it gives me error message the file Temp not found in C:\drive,.

    Can you give me more explication for this, because i have some Crystal report to integrated to GP2010.

    Thank you.

    Aissam.

  6. ArsalanMKhan says:

    The TEMP folder is hidden.. 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: