How to Insert documents to a BLOB field

Ask a Question related to Oracle Server, Design and Development.

  1. #1

    Default How to Insert documents to a BLOB field

    Hi,
    I have an Access Front-End application and an Oracle Back-End for my tables.
    I have a BLOB field in one of the tables.
    I use Access form to insert my documents in a record to the BLOB field by
    right-clicking the OLE Object bound field in the form, then Insert Object
    (embedded).
    My problem is, it displays garbage when I use intermedia to display a
    particular document using this sample hyperlink
    "http://servername/intermedia/mediaget/myproceduretodisplaydoc/2"
    Am I doing the right process in inserting documents in a BLOB field using
    Access as front-end and Oracle as back-end?
    My index is working fine. It's only when I display/open the link above to
    view the document that I get garbage data instead.
    Any help is much appreciated.
    TIA,
    Arman


    acelestial Guest

  2. Similar Questions and Discussions

    1. insert blob in MySQL (CF_SQL_BLOB) not working
      I've read the post about "insert blob in oracle (CF_SQL_BLOB) not working" and followed the solution. The only difference here is that I am dealing...
    2. How to Display A Stored TIF Blob field in SQL Server
      Does anybody know how to display a TIF blob field in SQL Server? :confused;
    3. insert blob in oracle (CF_SQL_BLOB) not working
      I've the following code that is supposed to upload an image as a BLOB in the oracle 9i db (I am using cf mx 7) <cffile action='readbinary'...
    4. insert blob
      Hi everyone. i would like to insert a file in a column i juste created a test table : { TABLE "informix".a row size = 56 number of columns =...
    5. Setting the value of an Informix v7.3 BLOB field using ADO, VFP and OLEDB
      Hi everyone, I'm trying to replace an Informix v7.3 BLOB field in an existing record with a .PDF file and it's giving me fits! I've adapted the...
  3. #2

    Default Re: How to Insert documents to a BLOB field

    acelestial wrote:
    > I use Access form to insert my documents in a record to the BLOB field by
    > right-clicking the OLE Object bound field in the form, then Insert Object
    > (embedded).
    > My problem is, it displays garbage when I use intermedia to display a
    > particular document
    Question. Is an OLE object not "packaged" in some way? If so, then it needs
    to be unpackaged before it can be displayed. It is unlikely that
    intermedia will know it is a Microsoft OLE object and needs to be
    unpackaged.
    > My index is working fine. It's only when I display/open the link above to
    > view the document that I get garbage data instead.
    What document type do you save as the OLE object? How sure are you that
    intermedia can display that document type or even recognise its format?

    --
    Billy
    Billy Verreynne Guest

  4. #3

    Default Re: How to Insert documents to a BLOB field

    Hi,
    I'm not sure about the OLE object not "package". Kindly explain or point me
    to some links about it.
    I guess, OLE object is working fine because I can open documents which I
    inserted using Insert Object on the form by double-clicking on them. The
    problem really is when displaying these documents inserted using Insert
    Object on the form in interMedia. I did some test of inserting/importing
    documents directly into the Oracle table BLOB field and they did display
    fine in interMedia. But on the form, those documents which have been
    inserted directly into the table are not showing in the OLE field even if I
    double-click them to open, it displays a message instead:
    "A problem occurred while myDatabase was communicating with the OLE server
    or ActiveX Control.
    Close the OLE server and restart it outside of myDatabase. Then try the
    original operation again in myDatabase."
    I mostly insert MS Word documents.
    Thanks,
    Arman

    "Billy Verreynne" <vslabs@onwe.co.za> wrote in message
    news:aspfrc$abg$1@ctb-nnrp2.saix.net...
    > acelestial wrote:
    >
    > > I use Access form to insert my documents in a record to the BLOB field
    by
    > > right-clicking the OLE Object bound field in the form, then Insert
    Object
    > > (embedded).
    > > My problem is, it displays garbage when I use intermedia to display a
    > > particular document
    >
    > Question. Is an OLE object not "packaged" in some way? If so, then it
    needs
    > to be unpackaged before it can be displayed. It is unlikely that
    > intermedia will know it is a Microsoft OLE object and needs to be
    > unpackaged.
    >
    > > My index is working fine. It's only when I display/open the link above
    to
    > > view the document that I get garbage data instead.
    >
    > What document type do you save as the OLE object? How sure are you that
    > intermedia can display that document type or even recognise its format?
    >
    > --
    > Billy

    acelestial Guest

  5. #4

    Default Re: How to Insert documents to a BLOB field

    Hi,
    Sorry for the duplicate responses. Connection problem. :)
    Thanks,
    Arman


    "Billy Verreynne" <vslabs@onwe.co.za> wrote in message
    news:aspfrc$abg$1@ctb-nnrp2.saix.net...
    > acelestial wrote:
    >
    > > I use Access form to insert my documents in a record to the BLOB field
    by
    > > right-clicking the OLE Object bound field in the form, then Insert
    Object
    > > (embedded).
    > > My problem is, it displays garbage when I use intermedia to display a
    > > particular document
    >
    > Question. Is an OLE object not "packaged" in some way? If so, then it
    needs
    > to be unpackaged before it can be displayed. It is unlikely that
    > intermedia will know it is a Microsoft OLE object and needs to be
    > unpackaged.
    >
    > > My index is working fine. It's only when I display/open the link above
    to
    > > view the document that I get garbage data instead.
    >
    > What document type do you save as the OLE object? How sure are you that
    > intermedia can display that document type or even recognise its format?
    >
    > --
    > Billy

    acelestial Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139