Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ole Object shows only first page.

Status
Not open for further replies.

SBGibson

Programmer
Apr 18, 2001
125
IT
Hi guys,

I'm trying the crystal report shipped with VS.NET.
I tried to put a word document as ole object into the report but when I launch the report as PDF only the first page is shown.
Is there a possibility to show the whole word document or the "first page only" is a limitation of crystal report?
Thanks

Stevie B. Gibson
 
I simply put a single ole object into the details section of a blank report without any datasets. I don't care about data, I only need to show the whole word document.
The word document has more than one page but only the first page of the word document is shown.

Stevie B. Gibson
 
Stevie,

I don't think there is anything you can do about that. When you drop a Word document into a report as an OLE object, it is converted to a graphic, and you can only make it grow to a certain size.

However, if you double-click on the document in the Preview page, you will invoke Word which will open the full document.

If that's not what you want, the next question would have to be: why do you want to do this? It seems that all you are achieving is displaying a Word document within CR. There are surely easier ways of letting people see inside a Word document?

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
In my mind it was an easy and quick method to convert a word document into pdf :p


Stevie B. Gibson
 
This is actually a long-known issue with Crystal Reports. If you need multiple pages, then you need to break the Word document into multiple, individual documents and place them in the report.

I agree with Mike, though, there's a better way to do this than passing the Word document through Crystal to generate a .pdf, unless there's data to accompany the document.


~Kurt
 
I need to do the same thing.

Basically, I need to prepend my report with a cover page. This cover page must be editable by the client. Hence, the word document.

The cover page could be more than one pages.

Has anyone been able to do this?

When I try this, only the last page is shown similar to SBGibson's problem.

Thanks for your help.

Infimo
 
Actually, its the first page itself. Sorry for the goofup.

But, it doesn't even show the header and footer. (Thats why I got confused).

Infimo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top