If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Crystal to PDF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-09, 10:33
scabral7 scabral7 is offline
Registered User
 
Join Date: Sep 2009
Posts: 40
Crystal to PDF

Hi,

Does anyone know of a way to convert a Crystal .rpt file to a pdf file through script? I have some .rpt files in a directory and i need to convert each file to pdf. I need to automate it somehow using some sort of script which can be scheduled via scheduled task or SQL agent job.

Thanks

Scott
Reply With Quote
  #2 (permalink)  
Old 09-14-09, 09:05
pankaj.goswami84 pankaj.goswami84 is offline
Registered User
 
Join Date: Sep 2009
Posts: 4
Hi Scott, You can do it easily using Crystal reports API's in C Sharp. Use the Crystal Document approach. If you have any queries then mail me on pankaj.goswami@live.com
Reply With Quote
  #3 (permalink)  
Old 09-14-09, 09:21
scabral7 scabral7 is offline
Registered User
 
Join Date: Sep 2009
Posts: 40
Hi,

i know i've seen some code using C# and VB.net, but the key is that i need to automate this somehow. Not sure if you can use C# code and then automate the process?
Reply With Quote
  #4 (permalink)  
Old 09-14-09, 09:26
pankaj.goswami84 pankaj.goswami84 is offline
Registered User
 
Join Date: Sep 2009
Posts: 4
You can automate it by using Cystal document where the report will be executed silently. This can be run using batch file.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On