Getting a Word-Doc stored in DB as Blob

Hi !
I'm an intermedia-beginner and I would like to know, how can I get the content of Word-Doc (stored as blob) by searching (if kriteria is found)?
Example:
I have a table: documents(id number pk,note varchar2(20), doc blob )
indextype is ctxsys.context (pref -inso_filter)
by searching :
select id from documents where contains (doc,'search_kriteria') > 0;
i need to get a document-blob, that includes the search kriteria.
Thanks

Hello, Stefan;
Is this a Windows or Web application?
Visual Basic 6.0 shipped with Crystal Reports 4.6 Visual Studio .NET 2005 ships with Crystal Reports 10.2 and VS .NET 2008 with version 10.5.
The Crystal Reports application was rewritten in versions 5.0 and  9.0 and a great many changes were made - among them different options for including OLE Objects. See the [Note 1218374|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] for useful new functionality. I tested a report with a linked Word document and it viewed well through Visual Studio .NET 2008.
Is it possible support for the  the Word format as a BLOB field in MS SQL Server has changed over time. What method is used to create the document as a BLOB field?
Are you using the bundled version included with Visual Studio .NET? In the article recommending the property 'Retain Original Image Color Depth', there is a note:
Note: This option only functions with the full version of Crystal Reports 9 or 10. This option does not function with the .NET Report Designer.
Originally the issue was fixed but only in a full versions of Crystal Reports Developer, not in the versions bundled with Visual Studio .NET.
I tested with a linked Word document and see some degradation when there is an image in the Word Document but not in the text itself.
Elaine

Similar Messages

  • How to open Word doc stored in BDS?

    I faced the problem using BDS. I have table with stored object_keys of Word documents stored in BDS. I can retrieve url for this docs using METHOD CL_BDS_DOCUMENT_SET=>GET_WITH_URL. But how can i open this document using url or something else?
    For example, 'WS_EXECUTE' don't understand BDS-URL as a doc adress.
    Thanks to all who will try to help me.

    Using BDS_OBJECT_DISPLAY i get runtime exception CX_SY_DYN_CALL_ILLEGAL_TYPE. I use BDS in this way. May be  I don't create BDS doc in a proper way?
    *&      Form  SAVE_FILE_RETRIVE_ID
    *       Locate File in BDS Repository Retrive ID
    FORM SAVE_FILE_RETRIVE_ID CHANGING OBJ_KEY TYPE SBDST_OBJECT_KEY.
      DATA: LV_COMPON TYPE BAPICOMPON,
              LV_SIGNAT TYPE BAPISIGNAT.
      LV_COMPON-DOC_COUNT = '1'.
    *  lv_compon-comp_count = '1'.
    *  lv_compon-comp_id = 'Employee Image'.
      lv_compon-mimetype ='application/x-oleobject'.
    *  lv_compon-comp_size = '1024'.
      APPEND LV_COMPON TO GV_COMPON.
      LV_SIGNAT-DOC_COUNT = '1'.
    *  LV_SIGNAT-DOC_ID = 'IMAGE'.
    *  LV_SIGNAT-DOC_VER_NO = '1'.
    *  LV_SIGNAT-DOC_VAR_ID = '1'.
    *  LV_SIGNAT-DOC_VAR_TG = 'ORIGINAL'.
    *  LV_SIGNAT-COMP_COUNT = '1'.
    *  LV_SIGNAT-PROP_NAME = 'IMAGE'.
    *  LV_SIGNAT-PROP_VALUE ='IMAGE'.
      APPEND LV_SIGNAT TO GV_SIGNAT.
      CALL METHOD CL_BDS_DOCUMENT_SET=>CREATE_WITH_TABLE
        EXPORTING
    *     LOGICAL_SYSTEM  =
          CLASSNAME       = 'DOC'
          CLASSTYPE       = 'BO'
    *     CLIENT          =
          COMPONENTS      = GV_COMPON
          CONTENT         = GV_T_FILE
       CHANGING
          OBJECT_KEY      = OBJ_KEY
          SIGNATURE       = GV_SIGNAT
       EXCEPTIONS
         INTERNAL_ERROR  = 1
         ERROR_KPRO      = 2
         PARAMETER_ERROR = 3
         NOT_AUTHORIZED  = 4
         NOT_ALLOWED     = 5
         NOTHING_FOUND   = 6
         OTHERS          = 7
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SAVE_FILE_RETRIVE_ID
    *&      Form  OPEN_TASK_DOC
    FORM OPEN_TASK_DOC USING OBJ_KEY TYPE SBDST_OBJECT_KEY.
      DATA: LV_T_FURLS TYPE BAPIURI OCCURS 1,
                LV_URL TYPE BAPIURI,
                FILE_URL TYPE URL.
      CALL METHOD CL_BDS_DOCUMENT_SET=>GET_WITH_URL
        EXPORTING
    *      LOGICAL_SYSTEM  =
          CLASSNAME       = 'DOC'
          CLASSTYPE       = 'BO'
    *      CLIENT          =
          OBJECT_KEY      = OBJ_KEY
    *      URL_LIFETIME    =
        CHANGING
          URIS            = LV_T_FURLS
    *      SIGNATURE       =
    *      COMPONENTS      =
        EXCEPTIONS
          NOTHING_FOUND   = 1
          ERROR_KPRO      = 2
          INTERNAL_ERROR  = 3
          PARAMETER_ERROR = 4
          NOT_AUTHORIZED  = 5
          NOT_ALLOWED     = 6
          OTHERS          = 7
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE LV_T_FURLS INDEX 1 INTO LV_URL.
    * LV_URL - url to the doc we need to display
      FILE_URL = LV_URL.
      CALL FUNCTION 'BDS_OBJECT_DISPLAY'
        EXPORTING
          URL                  = LV_URL
          MIMETYPE             = 'application/x-oleobject'
    *     DOC_TYPE             =
    *     DOCUCLASS            =
    *     FILESIZE             =
    *   TABLES
    *     CONTENT              =
    *     ASCII_CONTENT        =
    *   EXCEPTIONS
    *     DP_ERROR             = 1
    *     FILE_ERROR           = 2
    *     INTERNAL_ERROR       = 3
    *     EAI_ERROR            = 4
    *     OTHERS               = 5
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " OPEN_TASK_DOC

  • I am trying to get my word doc's to fit PDF pages correctly

    I have a website and I rely on my opt-in email lists when people sign-up for my reports that are sent out in PDF form. I write the reports in a 2007 word doc. and save them into a PDF but the pages don't save as a full page sometimes it only takes up half the width of the page and doesn't go to the top either as if it was simply centered in the PDF. How can I change this or what am I doing wrong? If you need to see the pdf just goto http://www.yourmobilevoice.com and you can download it yourself. It takes alot of time to write the reports but even longer to try to get them to fit properly.

    I am sorry as you can see, you would need to sign up for the report in
    order to get it. Otherwise Pat an opt-in email list would not work if they
    can just download it, but thanks if you want me to send it direct to you I
    sure can do that as well.
    Thanks Scott

  • Poor image quality when displaying OLE Word doc stored in BLOB

    Hello,
    I am migrating some CR Reports from VB6 to VB.NET 2008.
    The reports retrieves Word documents that is stored in BLOB column on SQL Server 2005.
    If CR.NET (same behaviour with 2005 and 2008 versions) renders the word document, the quality is really bad. Looks like an ugly moire effect. The characters below 8pt font size are hardly readable.  I have already set the option "use full color-depth" in the report options.
    If the same word doc is rendered with CR that's included in VB6, it shows a clear and sharp output - the same as displayed in word.
    Where is the difference in handling Word OLE between those two CR versions?
    Is there anything I can do to improve the quality with CR.NET?
    Regards,
    Stefan

    Hello, Stefan;
    Is this a Windows or Web application?
    Visual Basic 6.0 shipped with Crystal Reports 4.6 Visual Studio .NET 2005 ships with Crystal Reports 10.2 and VS .NET 2008 with version 10.5.
    The Crystal Reports application was rewritten in versions 5.0 and  9.0 and a great many changes were made - among them different options for including OLE Objects. See the [Note 1218374|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] for useful new functionality. I tested a report with a linked Word document and it viewed well through Visual Studio .NET 2008.
    Is it possible support for the  the Word format as a BLOB field in MS SQL Server has changed over time. What method is used to create the document as a BLOB field?
    Are you using the bundled version included with Visual Studio .NET? In the article recommending the property 'Retain Original Image Color Depth', there is a note:
    Note: This option only functions with the full version of Crystal Reports 9 or 10. This option does not function with the .NET Report Designer.
    Originally the issue was fixed but only in a full versions of Crystal Reports Developer, not in the versions bundled with Visual Studio .NET.
    I tested with a linked Word document and see some degradation when there is an image in the Word Document but not in the text itself.
    Elaine

  • How to render a word doc stored on a file server?

    How render a word doc, the word doc is stored on a file server, the key is in the parent table and the url is in child table? I using MVC.

    Questions about rendering in MVC will be handled better in the MVC forum
    http://forums.asp.net/1146.aspx
    Paul Linton

  • Getting a Word doc onto my Centro

    I haven't a clue where even to start even after reading the manual. I'd like to start putting MS Word docs (agendas, etc.) onto my Centro instead of wasting paper printing them out. I'm completely confounded. I can sync my Calendar and Contacts just fine to Microsoft Outlook, but I have no clue where to put a Word doc for it to get sync'd.
    Any help getting me started would be greatly appreciated!
    Post relates to: Centro (Verizon)

    did your Centro come with Dataviz's "Documents To Go" software?
    Both my tungsten E and my Treo 680 came with it already pre-installed..
    If it did you also need to install the software for your computer (it would be on the CD that came with the centro).
    Once Documents To Go is installed it will put an Icon on your Desktop. When the software is open you can take any Word document and 'drag and drop' onto the program window.
    It will then convert it and assign it to be synced to your Palm..
    As a shortcut you can also 'right-click' on a document and "send it" to Documents To Go..
    Post relates to: Treo 680 (Rogers)

  • Nd suggestion for importing Word doc into Pages template....

    I have a rather lengthy Word file that I want to import into Pages using one of its templates (Travel Journal). Is there a way to import the Word file directly into this template?
    I know you can import a Word doc into Pages but once you do that, you have to do the designing from scratch (or at least that what it looks like you have to do).
    I like the Travel Journal template and wanted to use that for my Word doc. Any suggestions for getting my Word doc into this template, without having to cut and paste each section?
    I like the template because of the varied page layout options and I don't want to have to recreate from scratch!
    Help!

    Hello Debbie,
    as I know there is no way to get what you want. I think you have to load the Word document into Pages and than you have to copy and paste all the text and media objects into the Pages template.

  • Am I imagining things?  Spotlight on Word docs...

    If I search for files modified in the last 7 days and select Kind is Document, it seems that Word 2008 .docs do not appear!   .docx ones do, though!
    Yet, if I select Extension is doc instead, then I get the Word .doc files.
    Is there some trick here?

    Anyone?

  • Entourage and Word Doc Attachments

    I've recently started using Entourage (Office 2004 version) in place of Mail. Occasionally I get a Word doc attachment that I can't open. I get a message stating it is either in use or is not a properly formatted doc. I can switch over to Mail and open the same doc with no problem at all. Any idea what the issue might be? It's not a show stopper, just a minor annoyance. Somewhat like not getting the free upgrade to Office 2008 because I forgot to send in the original boxtop (the original receipt wasn't good enough for Microsoft). Sorry, my anti-Microsoft bias is showing. Any help is appreciated.

    Since Office is not an Apple product, you should consider posting your question on MIcrosoft's own forums for their Office:Mac products, as they would be geared more toward your issue than an Apple forum:
    http://www.officeformac.com/productforums

  • Microsoft Word Doc into FCP

    Anyone have a suggestion on how to get a word .doc into fcp. Client has a list of 100 names they want to input into my timeline. What should I convert the file to and how?

    Use the Boris Title 3D or Title Crawl plugins that came bundled with FCP. You should be able to perfectly align the names the way you want.
    Or use Photoshop.
    Or, if you have a Windows system handy, open the Word document in word, then go to File->Print. Choose Microsoft Document Image Writer as the printer to create a TIF file of the document. Import the resulting TIF file into your FCP project.
    -DH

  • 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

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • Cannot embed pdfs in MS Word doc which are PDF Version 1.3 (Acrobat 4.x) [This is associated with Adobe Reader 9]. Getting 'program not installed' error.

    Cannot embed pdfs in Word doc which are PDF Version 1.3 (Acrobat 4.x) [This is associated with Adobe Reader 9]. Getting 'program not installed' error.
    Pdfs with other versions are okay:
    Tested successfully with Adobe Pro 9 (Version 1.5 (Acrobat 6.x)), Reader X (Version 1.4 (Acrobat 5.x)) and XI (Version 1.6 (Acrobat 7.x))
    Also cannot open embedded pdfs which have been embedded with this version (getting a similar error).
    Importantly I have removed/disabled all security options in Adobe Reader, following numerous internet suggestions from Adobe and elsewhere. This does not fix the problem.
    Currently the work around is to re-save the pdf with something other than Adobe Reader 9 (so the version updates), but we would prefer not to do this for all the old pdfs we have.
    Thank you,
    Louise.

    Could you please email me the document on which you are seeing this issue at [email protected] ?
    Please mention the forum thread link as well in the mail for the reference.
    Thanks,
    Atul

  • Trying to convert a pdf to a word doc using Acrobat XI Pro. I am getting formatting errors and scrambled text, especially right below headings. Not all headings affected, just some, but all the same paragraph tag. Any ideas?

    I am trying to convert a pdf  to a word doc. The pdf was created in Framemaker. I am using Acrobat XI Pro and getting formatting errors and scrambled (or missing) text, especially below a heading. Any fixes?

    Hi pakbecker,
    Please try updating to Acrobat 11.0.7 and check.
    In case you still face issues,  i would like to have a look at th doucment.
    Send me an email at [email protected]
    Regards,
    Rave

  • When trying to convert a pdf file into a word doc, i only get the graphics but not the text. How do i remedy this?

    When trying to convert a pdf file into a word doc I only get graphics but no text. What to do?

    Hey hamsa142,
    I think you are converting a scanned PDF to word.
    You might need to run OCR first to make the text recognizable and then convert it to word.
    Regards,
    Anubha

Maybe you are looking for