Solved

Crystal Report with CV++6

Posted on 1998-12-27
2
599 Views
Last Modified: 2013-11-20
Hello Folks,

    I inserted a Crystal Report activex control into my project. There are two classes added into my project. One of the class named 'CCrystalCtrl' that has so many API but without any help info. Anyone has experience using CR with VC++, please help...... I am grateful for any info your can offer. Many Thanks.

p.s. If possible, please give me details instruction...

stephen
0
Comment
Question by:stephenkong
2 Comments
 

Author Comment

by:stephenkong
ID: 1326788
Hi

     I put a following statement into one of my message handler.

    m_cInfoCrystalReport.SetAction(1);

    When I execute the program and try to print the report, "Missing or Out-of-date export DLL." error dialog box pop up. Why?????????

stephen

0
 
LVL 1

Accepted Solution

by:
majorjohn earned 50 total points
ID: 1326789
Hi!

First you embed CRW30.EXE in your VC++ MENU where all SPY and others are existing. It is optional. You may create your report files outside VC++. Cr. Report Writer interacts with database only. When your entire report is created it will be saved in a particulat .RPT or others( for other version) file. Then you add one Crystal Control in your dialog. Assign the above report file name with the control. Add a member variable m_XXX and associate it with the Crystal Control ID_ Varialbe. Now in OnInitDialog() just call the member function SetAction(1) to execute the report. m_XXX.SetAction(1) will show the report on screen and then according to the user it will give hard copy.

If you need more clarification and explanation please let me know.

Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Importing  SSL Certificate into Firefox using GPO 28 196
Handling string inputs in C/Linux 23 168
haveThree challenge 22 100
wordappend challenge 8 85
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now