Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default error byte array

    hi
    I think this code is ok but im getting this bytearray error - and mentions OLE
    Object

    <cfquery name="Recordset1" datasource="dependent">
    SELECT picture
    FROM tHHbyL
    </cfquery>

    <cfoutput>
    <img src="#Recordset1.picture#">
    </cfoutput>

    One more question
    im passing an url to a template page but on the page which displays the
    hospital_id as a digit. id like to display it instead as a an image or button.
    Is this possible - i don't want the user to see just a digit but a button which
    says more info or view template or something like that

    many thanks
    Mark


    quiero mas Guest

  2. Similar Questions and Discussions

    1. How to save a Byte array on to the desktop?
      Hi All, I am taking Byte array once clicked and that is being printed in an swfloader in the same page. I want the same to be saved as a image...
    2. Read and write byte array into PDF file
      Hello all I want to read and write byte array into PDF file.I can use "CosNewStream" to create CosObj contained byte array.But how can I get the...
    3. Convert image into byte array
      I am trying to insert an image in the word document using RTF specifiations. The problem i am facing is that in RTF we have to provide a byte string...
    4. Byte Array objects cannot be converted to strings Error-- SQLExpress DB
      Hi I recently upgraded one server to be using SQL Express 2005 Now when I try to output the value of a ROWGUID its giving me this Error Occurred...
    5. Do I need CRC check on web service which returns byte array?
      Hi, I have a web service that will send a byte array down to the client. It goes through highly unreliable radio network. Do I need to implement...
  3. #2

    Default Re: error byte array

    You either need to specify a row number in the src attribute of your img tag,

    or, put a where clause in your query so that it only returns one row,

    or, add a query attribute to your cfoutput tag and remove the qualifier in the
    src attribute of your img tag.



    Dan Bracuk 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