Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Code to embedding DOC's dynamically in Crystal Rep Post Reply Post New Topic
Author Message
aspfun
Newbie
Newbie


Joined: 17 Jun 2010
Online Status: Offline
Posts: 27
Quote aspfun Replybullet Topic: Code to embedding DOC's dynamically in Crystal Rep
    Posted: 24 Aug 2014 at 2:05am
I was assigned a project which need to do the following jobs:

1) Print cover letter in which display member name and address based on memberID in Member table (Done)

2) Using the same memberID to embed a word doc file. The file name is the same memberID from a file server, eg. 12345.doc (Need help to code???)

3) Export to a file server as pdf file(this should be no problem for me)

Can some experts give me an idea of how to do 2)?

Using sub report or ole object ? How to code?
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 02 Sep 2014 at 11:12am
You could try embedding it as an OLE Object. All of the properties will call it a "picture", but you might still be able to build the location by going to "Format Object", selecting the "Picture" tab, and setting the "Image Location" formula to point to your .doc files.

-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.035 seconds.