Insert OLE Object at runtime in a report (Crystal report 2008)

Hello
I need insert a WORD document at runtime into Crystal report 2008.
Is it possible do it this using RAS SDK for .NET?
Thank you

Possible, but remember that only the 1st page of the word doc will be added - same as in the CR designer.
There is a number of sample apps at [this|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] link. Add image sample may be good to look at.
Also see [this|Display byte array image or ole object in Section through dynamic code?; thread.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • How to insert ole object like word doc at runtime

    To insert word doc into crystal report

    Hi Vinod,
    To add an OLE object in reports follow the steps given below-
    1- In CR environment open a Report in which OLE object needs to be added.
    2- Click on insert and click on OLE object.
    3- A wizard pops up - choose appropriate file for e.g- Microsoft World Document.
    4- two buttons will be there-
    a> Create new - creates a new world document.
    b> Create from new - Includes a exsisting file.
    5- one more option is their in wizard -
    Show icon(check box) - shows the OLE object as an icon in report.
    6- Click on ok and place the object at required position in report.
    Hope it works.
    Regards
    Amit

  • Ole object not visible on oracle report

    Hi,
    I have an oracle report built in oracle report 6i builder I have used a Boilerplate OLE Object(image.bmp) in the report but when I am executing the report on Oracle E Business(Application) then that OLE object is not visible on the report output(output is in the pdf format).
    Please help me out with this
    Thanks in advance

    If you want to display an image on your report, use Link File as item type in the Layout Editor.
    Note that the image has to be accessable from the Reports Server.

  • Problem in seeing ole object at runtime...

    I am using MSR(magnetic stripe reader) component in my OLE container in form in design time. But as soon as i run that form., the component gets disappeared. to work on that same object i.e MSR i have to insert that Component once again. But i want that this component should be activate by default when i run the form. so please any one guide me, how to solve this problem?

    Hi Armin,
    I need to display a table with 5 rows and 7 columns.
    5 of the columns are drop downs from R/3,
    My requirement is the table should be in editable mode such that the user is allowed to enter some values(rows). on clicking the save button the table values are to be sent to R/3 table through bapi.
    Please help me in resolving this.
    Thanks & Regards,
    Sai Krishna.

  • Report with OLE Object Problem (Crystal Report 11)

    Post Author: ibertola
    CA Forum: General
    Hi all,I'm a new user, and I've got a problem with OLE object. I would like to have a report that show me ONLY one of many OLE (word document) in Crystal structure.I've created 3 section detail, and in each one I've insert OLE object (creating from a file, and LINK).So, if I change one document stored locally, and then refresh the report, the content doesn't change like the linked file! Actually I've got all locally  Please help me.

    CR XI r2 is not supported on WIN 2008. See the [supported platforms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7081b21c-911e-2b10-678e-fe062159b453]
    documentation  and [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki.
    Ludek

  • Display data on OLE object (form) in Crystal Report

    Hi All,
    I m using Crystal Reports 2008. We have Business Objects XI 3.1 SP3 environment.
    I have a crystal report with OLE object embedded in it. The OLE Object is a form on which the database fields and the formula fields are supposed to be displayed. The OLE Object form has multiple lines (rows) and sections. I have a formula field that sometimes brings multiple records and I want to be able to display those records as rows (one below the other) on the same page until all rows on the form are filled. I have 2 problems:
    1. When the formula field brings more than 1 record, only one record is displayed on one page and the next record goes and prints on the next page i.e. the records are not being displayed below each other.
    2. How do I make sure that the records display on the next page of the report once all empty lines/rows on the OLE object form are filled?
    Your replies are much appreciated.
    Thank you.

    Hi,
    if I understand correctly, your OLE object is a form and your data needs to display on it.
    What you can do is, inserting the OLE object on page header and then in the section expert, click "Underlay the following section".
    Note that the structure of Crystal report is RH, PH, GH, Details.
    So, if you insert OLE object in Page Header (PH) and you have a group, underlaying the OLE means displaying the object underlay Group Header (GH).
    So, it is a bit of twisting to do and your OLE object needs to fit well as in A4 (or the paper size you need) consistently.

  • Ole Object in Report

    Hi!
    We r trying to embed an OLE Object (gif,bmp) in the report . The report shows the logo (gif) when run thru client server but when run thru Application server no image is shown. Can anyone tell what is the problem.
    Thanks & Regards,

    Srini,
    OLE doesn't work on teh Web. Creating a Report for the Web converts the output to HTML, HTMLCSS or PDF. The OLE container gets excluded which is why the image is not shown. Work around is instead of using OLE to include images, to reference them on the filesystem of the Server (or database).
    Frank

  • OLE object problem

    I'm trying to make a report with OLE object in CR9 on XP Professional SP3. There is an image file "file_01.bmp". I place it in the report from "Insert"->"OLE Object" and chose "Create from file" with file path (not as icon, as image). But what I get in the report is black square with "file_01.bmp" caption below, and so in the report preview area. Double-clicking on it causes Object Packager warning.
    What should I do to get an image (linked with a disk file) in report?
    Thanks in advance.

    I am having a simular issue as well.  I finally got this to work on my laptop (where I have Crystal XI installed).  I can also access the report from another computer with Crystal Runtime installed and it does update the graphic file as well, however, I cannot get this to work on my desktop computer.  I have temporarily installed Crystal XI on the desktop to test this.  Both Laptop and desktop have windows XP SP3 and most of the same applications installed.  Here is what happens:
    1) When I open the report, I get a message "Some Links could not be updated becasue thier sources are presently unavailable"
    2) If I select the Links button I get a dialog that shows me the .bmp file.
    3) I then select the Open Source button and I get a message "Failed to launch server application"
    4) I open the report again and this time I select the Change Source and a dialog comes up asking me to select the source file.
    5) I then select the source file and I get this message "Invalid Source:Do you want to correct it?"
    6) I then select the Yes button, but nothing happens
    The bmp file was created with Paint and Paint is registered for bmp files.
    Any help on this would be appreciated.

  • Insert OLE w formula for document name

    Post Author: joemoceri
    CA Forum: General
    Hi, I'm still stuck using CR 8.5 and need to add a Word Doc to a report.  I can do it as an "insert OLE object". However, I won't be using the same doc file all the time.  The doc file name will be changing each time the report is run, so i need to add it as a formula.
    I can't remember how to do it.  I did it once in CR 7 and I don't have access to it.
    How do i add a Word Doc into a report using a formula to specify the file name?

    Post Author: joemoceri
    CA Forum: General
    OK.  I figured out how i did it in the past...
    Microsoft Access - I added an ODBC link to the report to an external Access table with OLE objects in it.
    Then on the main report i added the ACCES table via ODBC to get the ole object to appear on the report. 
    This allows a report to have a dynamic, OLE object to appear based on data in the report.

  • How to use CRAXDDRT.DLL in crystal report 2008?

    Hello All,
    We have purchased Crystal report 2008 Full software.
    We need to insert BLOB field into Crystal report 2008 at runtime using *CRAXDDRT.DLL*.
    How can I insert OLE object and bind it at Runtime using crystal report 2008?
    Is it possible to insert Ole Object runtime using crystal report 2008? If yes how and if not is there alternative to perform this job.
    Please let me know your feedback.
    Thanks

    CrxDDrt.dll is only provided in order for the Crystal Reports designer in the .NET IDE.
    1) You are not licensed to use this CraxDDrt.dll
    2) Even if you were, in previous versions of CR, there were licensing implications to using the craxDDrt.dll (read $$)
    3) Once your project would be done, using CR 2008, you would not be able to distribute the runtime as there is no CR MSM or MSI that contains the craxDDrt.dll and it's supporting runtime.
    In your original post you say:
    "I need to show Word and Pdf file in to Crystal report 2008 using CRAXDDRT.DLL";
    I do not understand why you'd need to do this using the craxddrt.dll? You should be able to insert a BLOB field using the RAS SDK for .NET and CR 2008. Now, one hting you will have to keep in mind. If you insert a multipage .doc or .pdf file into the report, you will only get the first page of that document. I suggest you try this in the CR designer first. Always remember that if you can not do a certain thing in the designer, you will not be able to do it at runtime either. Giving all the limitations above, if you are still interested in doing this using RAS, let me know and I'll set you up with some resources to get you going.
    Ludek

  • Using MS Access to Pull Up the Report Viewer - Crystal Reports 2008

    We recently purchased Crystal Reports 2008 Developer so that we can create standardized and feature rich reporting solutions for our company. Many of our current applications are developed in MS Access XP. It has been quite some time since I have worked in Crystal Report and it seems a lot has changed.
    One thing I remember is that there was an ActiveX control that could be added to an Access application, giving the application the ability to pull up a report in a separatre Crystal Viewer. I am having difficulties is finding an object in Access for Cyrstal Reports 2008 (Crystal 12) for the Report Viewer. Is there still such an ActiveX object available for MS Access applications?

    Thanks. I got it now.
    Now my problem is getting the crpe32.dll registered. I keep getting an error and the CrystalVCL example application fails due to not beign able to fnd the correct version.
    You'll have to treat me like I'm stupid on this one. I usually work in the over simplified Access application "development". So dealing with any real object oriented environment and any complex dll registering is a bit beyond me at this point. But I'm learning.
    I have two crpe32.dll's on my computer one is in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    And another is in C:\Program Files\Common Files\BusinessObjects\3.0\bin
    I have tried registering both of these and neither one will work. So, maybe that means that the're not supposed to be registered through regsvr32?

  • The Picture of OLE object  in the report  can't be printed, and how to sovle dynamic OLE object based on path

    <p>Hi, everybody,</p><p>  I have a problem which the picture in the report can&#39;t be printed.</p><p>I want to display some pictures  in the reports and print them.So I insert the picture as OLE object, select the graph format and set graph location fomular with the path of the picture which is stored in the local machine. I run the system and generate the report,  the picture is displayed correctly in the report, but when i print the report using ie&#39;s tool, the picture is gone and replaced with a little red mark. </p><p>I want to use the new feature of dynamic graph location about  the  crystal report xi version, but I don&#39;t know where I should put the picture into on the web server and what the path is . Because my web server is installed in the another machine.</p><p>I check the view source of html report and  find that the system searches the picture under  the crystalreportviewer11 folder on the web server.</p>

    Need to give the web server access to the folder

  • Can't print OLE objects when 9i report developed in 6i

    Hi,
    I am migrating my reports from 6i to 9i. I just open report in 9i which is already developed in 6i and run the report it don't print OLE objects. It shows when I run report in Designer Preview, but in printing it shows blank
    --Vijay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    The answer is in the Migration FAQ :
    When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
    Regards

  • Attention!!-don't use OLE object in Reports

    If you are planning to use or is currently using OLE objects in Reports-please don't use it as the object maynot reload in future and your report may not even open in Report Builder.I got this message when opening the report containing OLE object:
    REP-4004: Error occurred while restoring OLE object
    and it refused to open up crashing my days of work.
    The pity is I can't open my report even to remove the OLE object.

    I know that is weird.I placed the object in the same directory-but in vain.Afterall, what's the logic of putting it in the same directory after embedding it?

  • Doubt , how to display ole objects in report builder

    Please tell me, how to display ole objects in report builder.
    I mean i wanted to print ole object in report, so how to do that.

    Just to clarify Lixia's response.
    In Reports 9i we have deprecated our OLE functionality. Reports created in prior versions that contain OLE objects should still run, but you will not be able to create new reports containing OLE objects.

Maybe you are looking for