cancel
Showing results for 
Search instead for 
Did you mean: 

How to embed the Word Document and PDF file into Crystal report?

Former Member
0 Kudos

How to embed the Word Document and PDF file into Crystal report?

I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.

Is there any solution to show word doc / PDF file in CR?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Which section of the report are you placing the OLE Object into?

When seeing one page only - are you viewing it in Crystal Reports itself or in Infoview?

If in Infoview - which viewer are you using (ActiveX, DHTML?)

Former Member
0 Kudos

Hi

Perform the following steps to import a Microsoft Word document (*.doc) into a report using Crystal Reports:

1) Create a new Crystal report.

2) From the Insert menu, click OLE object.

3) Select Create from file.

4) Click Browse and open the file to use (in this case the Word document).

5) Place the OLE object in the section where you would like to see it.

You can only place the OLE Object in one section. You may need to create a Word document for each section. For instance, you can create a word document to use as OLE object in the Report Header section, and another one to place in the Page Header.

Regards

Girish Bhosale

ido_millet
Active Contributor
0 Kudos

There are a couple of alternatives to address this need but first please describe the actual business need (not the technical need). What do you need to actually deliver as the end result?

Former Member
0 Kudos

Hello Girish ,

Thanks for the reply,

but i need show all of 10 Word document pages into Crystal report.

i need to show entire word document pages in Crystal report.

Right now , i am using OLE object in Header Section but the problem is it only show 1st page of word document and i need to click on word document then it show whole Word DOC.

but i need show whole document as it is in Crystal report.

do you have any idea about this.

Thanks,

Suhas

Former Member
0 Kudos

Hello ,

Thanks for the reply,

but i need show all of 10 Word document pages into Crystal report.

i need to show entire word document pages in Crystal report.

Right now , i am using OLE object in Header Section but the problem is it only show 1st page of word document and i need to click on word document then it show whole Word DOC.

but i need show whole document as it is in Crystal report.

i am using Crystal report not infoview

do you have any idea about this.

Thanks,

Suhas

Edited by: s k on Dec 24, 2008 5:44 AM

Edited by: s k on Dec 24, 2008 5:45 AM

Former Member
0 Kudos

Hello

Thanks for the reply,

i going to prepared crystal report . my word document is stored into Oracle database as BLOB field. this DOC having 10 and more pages(word DOC) i need to show all pages of WORD DOC into CR.

how we achieve this in CR?

Thanks,

Suhas

Former Member
0 Kudos

As you NEVER answered my questions I assume you may not have seen or read or understood my posting:

So again........in which section of the report design are you placing your BLOB field?

When seeing one page only - are you viewing it in Crystal Reports itself or in Infoview?

If in Infoview - which viewer are you using (ActiveX, DHTML?)

Do you have Keep Together marked on the blob field or on the section containing the blob field?

Help us help you!

Former Member
0 Kudos

Hello,

Please see the below

So again........in which section of the report design are you placing your BLOB field?

[SK]: Page Header

When seeing one page only - are you viewing it in Crystal Reports itself or in Infoview?

[SK]: Crystal Reports itself (using VS 2008 inbuild crystal report)

If in Infoview - which viewer are you using (ActiveX, DHTML?)

[SK]: Crystal report viewer

Do you have Keep Together marked on the blob field or on the section containing the blob field?

[SK]:section containing the blob field

Thanks,

SK

Former Member
0 Kudos

Symptom :

When embedding a pdf document into a Crystal Report, only the one page shows.

Reproducing the Issue

Environment:

Crystal Reports OLE object

Cause

An OLE object only displays the first page.

Resolution

Embed multiple objects, one for each page

Or

Use a hyperlink to the object instead

Hope this helps!

Regards,

Vinay

Former Member
0 Kudos

ummmm.......

Inserting ANY object into a Page Header or Page Footer means that the particular object can NOT grow to more than one page.

A page header or footer is for each individual page. They are the ONLY sections in a Crystal report that can not grow to other pages.

Try putting your OLE Object into a Report Header or Report footer.....Group Footer or Header - or details section.

This is not an error. It is by design. Page headers and footers can NOT grow to other pages.

Former Member
0 Kudos

Hello ,

Thanks for your reply,

I have tried inserting OLE object into all Report Header or Report footer.....Group Footer or Header - or details section.but still its showing only one page.

Thanks,

SK

Former Member
0 Kudos

Is this occurring when you preview the report in Crystal Reports?

OR is this happening in Infoview or an application you've created?

Former Member
0 Kudos

We are having the same issue. Has this been resolved?

Former Member
0 Kudos

SOLVED: with ole object, works!!!, and show all pages when program is run. When is design time show only one page of word document, but it doesn't matter, dont worry, works!!!, tests this running program and shows report.

Former Member
0 Kudos

Gabriel Flores ... what was your solution for showing multiple page documents/pdfs so others may benefit from this forum thread please?

Answers (1)

Answers (1)

Former Member
0 Kudos

i am also facing the same issue. it shows only first page.

can anyone share the solution for this.

former_member183750
Active Contributor
0 Kudos

That is normal. Possible workaround; One page per subreport.

No other workarounds that I am aware of...

- Ludek

Senior Support Engineer Product Support, Global Support Center Canada

Follow me on Twitter

Got Enhancement ideas? Use the SAP Idea Place