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

Similar Messages

  • How To Insert A object into Conext

    Hi Techies,
    I have 8 tables in my designer
    and I have two contexts at designer level
    And how to insert a object into a context that is not referencing any table.
    For Example I have an object like "rownum" (Which should must be added at Universe level only not at report level). Here this object is not referencing any table and I want this to be used in a query where the remaining objects are coming from the context..
    Thanks in Advance..

          Double-click the Objects and click the TABLES button and select the table you want to associate the object to for the context to work properly (see below).
    Regards,
    Ajay

  • Store objects like word files, excel sheet, pics in database

    Hi guys,
    I want to store objects like word files, excel sheet, pics in one of my column in a table.
    what shud be the datatype of my column if i am using oracle 9i release 1.
    and how to store these files in database????? how is it possible thru forms.
    regards,
    Imran Baig

    On OTN is a demo File Upload Utility for Forms 9i/10g
    The demo for 6i can be found here

  • 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.

  • How to use  Business Object like Vendor or PurchasingInfo

    Hi,
    How to use Business Object ( like Vendor or PurchasingInfo ) from my Object?
    For example:
    CLASS myEntity DEFINITION.
              PUBLIC SECTION.
                   METHODS: getVendor EXPORTING pVendor TYPE Vendor.
               PRIVATE SECTION.
               DATA: aVendor TYPE REF TO Vendor.
    ENDCLASS.
    CLASS myEntity IMPLEMENTATION.
    METHOD getVendor
               pVendor = aVendor .
    ENDMETHOD.
    ENDCLASS

    Hi,
    I am giving u a demo Program for ur doubt.
    REPORT demo_class_counter .
    CLASS counter DEFINITION.
      PUBLIC SECTION.
        METHODS: set IMPORTING value(set_value) TYPE i,
                 increment,
                 get EXPORTING value(get_value) TYPE i.
      PRIVATE SECTION.
        DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        ADD 1 TO count.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA number TYPE i VALUE 5.
    DATA cnt TYPE REF TO counter.
    START-OF-SELECTION.
      CREATE OBJECT cnt.
      CALL METHOD cnt->set EXPORTING set_value = number.
      DO 3 TIMES.
        CALL METHOD cnt->increment.
      ENDDO.
      CALL METHOD cnt->get IMPORTING get_value = number.
      WRITE number.
    For more demo programs type 'abapdocu' in the command field
    U will be getting some demo programs.
    There select the abap objects.
    Regards,
    Jagadish

  • How to mask an object like we do in  flash

    how to mask an object like we do in  flash

    Hi sandeepsingh211.
    There are many similar discussions around this topic on this forum. Use search to look for these.
    Thanks,
    Preran

  • HT4559 I have "Pages"on my iPad. How do I convert/transfer my Word Docs.?

    I  must download the work I have done on my Home computer to my iPad. I have "Pages"on my iPad.
    How do I convert/transfer my Word Docs.?

    Turn on iCloud on the iPad. The on the computer go icloud.com. log in and go to iWorks. The go yo Pages. Then right click on the gear icon the upper right and select upload. After it is uploaded to iCloud, it will also appear in My Documents in Pages on the iPad.

  • Using Access to store OLE objects like Excel , Word docs and retrieve them

    Hi folks,
    I need a solution for this problem guys.
    The logic is like this : A portable exe file and a database. Database contains files stored ( embedded ) in it like Excel , Word , notepad etc.
    On running the exe file and giving necessary prompts or combo entries, it should display all files related to the selection and On clicking the link the document should open itself.
    Why I use Access : Most of the PC contains MS Office. Otherwise I have to use a lightweight protable database.
    Also it should be able to store files into it. As far as I know , Access can store excel and images etc. Is there any other protable db capable of storing excel and word docs.
    After storing how do I retrieve the file. I have read about displaying images. What about excel files...

    Portable as in the sense every one can cary the file and the MS access database and can access data whenever they want . They can carry it in their flash drive / USB drive. Only the data base would get updated with the data. So in effect , One could access the updated documents by the means of a query.
    This should work in Windows environment

  • 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]

  • Crystal report AS ole object into word

    I've been searching the web on using crystal reports as an OLE object inside a word document, but all results have been about using a word document inside a crystal report.
    I am trying to create a quarterly report document for a  business. This document is built using MS word. The document needs to include various tables, charts and the like, which they want to build in crystal reports so that they can be used either as part of the quarterly or as standalone reports.
    I would like to embed these reports into MS Word. Ideally, every three months the reports would be updated with new parameters, the word document would be opened, and the linked OLE reports would display the updated data tables and charts.
    I'm not sure if this is possible. I just attempted to embed a crystal report inside a word 2007 document, but the OLE object only showed up as an object containing the report filename, not the actual report.
    Can crystal act as an ole server for a word document to do what I want it to do, or will I need to programatically export the batch of crystal reports to images in order to have them show up in the word document?

    if you have business objects enterprise & live office, you can use Business Objects Live Office to embed the following from crystal reports into word or excel or powerpoint:
    1) charts
    2) cross tabs
    3) summaries
    4) fields
    to name a few.
    you can also use prompts in the word doc to allow you to change up the above on the fly.

  • How to read OLE objects from Access ??

    Hi,
    I have an field of type OLE in my Access Database table. This field has some files stored in it in the form of attachment. The file types of the OLE objects can be different (xls,txt,doc). Now, I want to query the database and find the extension of the files and save it occordingly using java.
    I'm using the following now.
    JdbcOdbcInputStream jois = (JdbcOdbcInputStream) rs     .getBinaryStream("SupportingData");
    byte[] supportingData = jois.readData();
    String data = new String(supportingData);
    I'm getting data in binary format and when I try to look into it, all I can see is the header info of the file.
    Is there anyother way to read the OLE object easily ?
    Please suggest.
    Thanks,
    Mary

    How to read appended objects from file with ObjectInputStream? The short answer is you can't.
    The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
    Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
    Not trivial, but that's how you'd do it.

  • How to crop OLE objects?

    Hi there :-)
    I have a real big problem: it seems that StarOffice can not crop OLE objects! I can crop images that i inserted, but not other things like autocad drawings.
    Will this be fixed? It seems that this will not occur too soon since this feature was not present in older versions and got not implemented this time, possibly in Staroffice 9??
    greetings, happy new year!
    molnium

    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.

  • Insert PDF Into 2013 Word Doc. Message There was an error opening this Doc This file cannot be found

    To All,
    I recently purchased a brand new Dell Laptop Inspiron 5521 Windows 7 Home Premium with purchase of Microsoft Office 2013 and already preinstalled Adobe Reader X. When trying to insert object being a saved pdf documentinto Word Doc., I keep receiving the following message: [There was an error opening this document. This file cannot be found.] Why?

    I don't know but I wouldn't expect it to work anyway. What do you expect to happen?

  • Ole2 question about inserting document object in Word

    I thought I had it figured out but it doesn't seem to work. From a Oracle Forms 6i application, I want to insert an object(a file) in a word document as an icon.
    The vb code generated when I record the macro of inserting an object as an icon is:
    Selection.InlineShapes.AddOLEObject ClassType:="Word.Document.8", FileName _
    :="string defining the location of the file object", LinkToFile:=False _
    , DisplayAsIcon:=True, IconFileName:= _
    "C:\WINDOWS\Installer\{90110409-6000-11D3-8CFE-0050048383C9}\wordicon.exe" _
    , IconIndex:=1, IconLabel:= _
    "string defining the location of the file object"
    Using this I wrote the following code: ( I am leaving out the declaration of the ole2.obj_type and other variables)
    args := ole2.create_arglist;
    ole2.add_arg (args, 'string defining the location of the file object');
    hinlineshapes :=
    ole2.get_obj_property (hselection, 'InlineShapes');
    ole2.invoke (hinlineshapes
    ,'AddOLEObject'
    ,args
    ole2.destroy_arglist (args);
    holeformat := ole2.get_obj_property (hinlineshapes, 'OLEFormat');
    ole2.set_property (holeformat
    ,'ClassType'
    ,'Word.Document.8'
    ole2.set_property (holeformat
    ,'DisplayAsIcon'
    ,TRUE
    ole2.set_property (holeformat
    ,'IconLabel'
    ,'string defining the location of the file object'
    When I run the code I get the following message from MS Word:
    " This object was created in 'string defining the location of the file object'.
    This application is not available to open this object.
    Make sure the application is properly installed and that it has not deleted, moved or renamed."
    Can someone please help? Thanks in advance.

    Second, when it inserts the date, it makes it an "update automatically" date that updates to the current time every time I open the document
    Sure, that's because you specifically tell it to. Your script inserts a 'new field' which is analogous to Word's dynamic text objects (date, time, page number, etc.)
    Instead, what you want to do is insert an actual string of characters - sure, to you and I that string of characters might look like a date and time, but to Word it's nothing more than a series of characters.
    For that we can fall back on AppleScript's date features, specifically current date, like:
    tell application "Microsoft Word"
      tell selection
        type text text "Left message " & (current date as text)
      end tell
    end tell
    Note that current date as text returns a rather verbose form of the date. If that's too much for you there are alternate options, such as:
    short date string of (current date) & space & time string of (current date)
    which will look more like: "6/10/10 3:26:50 PM"
    But there is also a myriad of other ways (with seconds, without seconds, 12/24 hr, etc.) depending on what you want.
    Third, if possible, I would also like it to be in italics.
    I'll have to look at that one, unless someone else beats me to it.

  • I apply to jobs online and need to provide my resume, which is in Word on Dropbox, but when I hit "Browse" to find Dropbox or any other repository all I can pull are photos. How can I get to my Word doc?

    I need to attach a Word doc when online forms require it.  When I Browse for a file, all the iPad and the iPhone allows are photos or videos. I have these docs in Dropbox and Skybox but I cannot get to them from Browse. How can I do this?

    Take a look at the iCab Mobile browser for the iPad. It allows document uploads if you configure it properly in the settings. iCab Mobile also works with DropBox.
    You may have to download the documents to the iPad and upload from there, but it might be worth a look here.
    https://itunes.apple.com/us/app/icab-mobile-web-browser/id308111628?mt=8
    This is copied from their website.
    How can I upload any file (not only photos) under iOS 6?
    Unlike the web engine of iOS 5.x and older, the web engine of iOS 6 has now basic upload support as well. But it only supports uploading photos and videos from the photo album. And this will only work under iOS 6.
    The upload capability of iCab Mobile works under all iOS releases and supports uploading photos videos and all other file types. It can even scale down photos before uploading to save bandwidth.
    But iCab's own custom upload capability has the disadvantage, that because of several iOS restrictions, it can not work on all web pages. Therefore under iOS 6, iCab Mobile provides a switch in the settings where the user can choose, if iCab should use the upload capability from the iOS (only photos, works with some more web pages) or the capabilities of iCab (photos and all other files, can't work on all web pages).
    So if you need to upload other files than just photos, make sure that you set the option "Upload files via" in the settings to "iCab Mobile".
    This is a link to the FAQ on the site.
    http://www.icab-mobile.de/faq.html

Maybe you are looking for

  • MSI big bang marshal B3 HECI pointer mismatch

    Hi all I have a MSI big bang marshal B3 with a 2600K cpu, i flashed the motherboard with 3.1 and 3.0 bios but can't change cpu multiplier  Finally i went back to 1.5 bios and all is good but now i have the "HECI pointer mismatch" at boot and can't fi

  • Flex Mobile Project UI Templates?

    I'd love to find some flex mobile templates to use in flash builder that already have the platform of many of the functional UI elements in them. I feel this would be a great springboard to learn more through examining pre-built projects as a means t

  • Quota agreement.

    Hi All, I need one help regarding Quota agreement, I need to know is there any set up for net price in quota file. Thanks,

  • Help for using FM SO_NEW_DOCUMENT_ATT_SEND_API1

    hi ,... i need help in putting a new line in the attachment which can be sent by using the FM SO_NEW_DOCUMENT_ATT_SEND_API1. for a quick reference please check out program:RSSOAPIS and let me know as to how can i add a new line in the attach file

  • Help with implementing Swing GUI within jpg image

    Dear Java Experts, I have a question, is there a way to implement java swing objects (ie jbutton, jcombobox, etc) within an imageicon. Basically, i am trying to juggle between ways of getting JSwing GUI into a background jpg image. Please help me. I