|
I am trying to display a blob in an OLE control
on a window, simple enough right.
Here is my code: blob ole_blob string ls_order_nbr ls_order_nbr = This.GetItemString(currentrow, "ordernumber") //this actually loads the ole control from the database into a blob variable selectblob adimage into :ole_blob from dba.rbinsertion where ordernumber = :ls_order_nbr; if SQLCA.SQLCode <> 0 then MessageBox("SQL error",SQLCA.SQLErrText,Information!) end if //assigning the blob data to the actual data control ole_1.objectdata = ole_blob This should work fine, but I get the error "Bad runtime function reference" at the line where I assign the ole_blob to ole_1.objectdata. I have done this before and it worked fine. Can anyone see something I may be overlooking. Is there any special way of actually putting the empty OLE control on the window to allow for blobs. ********
Max B. ******** |
