?
Solved

Calling Outlook 2000 from Crystal Reports 8.5 and ASP

Posted on 2003-02-25
10
Medium Priority
?
1,418 Views
Last Modified: 2007-12-19
I am using Crystal Reports 8.5 on a Windows 2000 Advanced Server with ASP. Is there a way to send a report to directly to Outlook connected to an Exchange Server from the ActiveX viewer either through code or some MAPI call? I see that the built-in export option on the viewer allows you to save as PDF, Word Doc and other file types but I would like to eliminate that extra step of saving then having to attach the file to email the report.
0
Comment
Question by:Dan_C
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 8016662
Yes you can.  You still attach the file but the export to MAPI does the creation and attachment.

I'll see if I can find an example.

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8016682
0
 

Expert Comment

by:dcraige27
ID: 8016847
You can go to FILE>OPTIONS then select the New Report Tab.  In the Mail Destination field, select Microsoft MAPI then click OK.

WHen you run the report, go to FILE>PRINT>MAIL.  Choose your format (PDF, XLS, etc.) and click OK.  Choose you page range and click OK.

Type the e-mail or choose the address button to see contacts in your default address book.  Enter subject and message info as appropriate and click send.

It's that easy.

Hope this helps.

dcraige27
0
Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

 

Author Comment

by:Dan_C
ID: 8017091
If I use the MAPI option when I design the report I assume it will not come up in the ActiveX Viewer. So if the user wanted to print the report they would have to double click on the attachment to bring up the application (Word,Acrobat,Excel) to print from there? Or am I asking for to much to be able to do both.

Thanks
0
 

Author Comment

by:Dan_C
ID: 8017784
dcraige,

What you are referring to is the RDC (Report Designer Component) functionality, what I am referring to is the ActiveX Viewer that is used in a Active Server Page over the Intranet/WEB application. But that is the exactly what I need but Web based, I do not see that option on the export dialog on the viewer.

Thanks anyway
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8017929
Have you loaded the MAPI export dlls?

I don't think they get loaded by default.

The option available from the Export icon are the export methods you installed with CR.  You may need to do an update installation to add the MAPI export capability.

mlmcc
0
 

Author Comment

by:Dan_C
ID: 8018879
Every export option from the CR install was installed and I still do not have the MAPI option from the ActiveX Viewer over the Web.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8020779
Do you have mail on that machine?  Was CR installed on that machine?

mlmcc
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 200 total points
ID: 8020796
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 11046387
Glad I could help

mlmcc
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

762 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