Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Showing MS Word doc file in Crystal report dynamic Post Reply Post New Topic
Author Message
udaywalve
Newbie
Newbie


Joined: 31 May 2010
Location: India
Online Status: Offline
Posts: 1
Quote udaywalve Replybullet Topic: Showing MS Word doc file in Crystal report dynamic
    Posted: 31 May 2010 at 1:15am
I want to show MS Word (.doc) file in crystal report header from VISUAL BASIC 6.0. Ill pass the doc file path in runtime (from VB 6.0 code) for selected voucher/Invoice.
In header part i want to show ms word file containg matter (1 or more pages). In detail part of crystal report, data will come from master/detail table.  Word file full path is stored in the master table file (DocFilePath nvarchar field).
My requirement is that When user select the VoucherNo, related MS word doc file i want to show in preview of crystal report header. Other data will come from Master table and detail table.
Any body have an idea. I know LoadPicture() function but its only for Picture files. I want to show .DOC file or PDF file.
Waiting for early reply.

IP IP Logged
gblumen
Newbie
Newbie
Avatar

Joined: 01 Jul 2015
Online Status: Offline
Posts: 1
Quote gblumen Replybullet Posted: 01 Jul 2015 at 5:20am
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.
"Valor a pesar de toda debilidad del cuerpo, el espíritu debe triunfar"
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.016 seconds.