Hi:
I regen. from the lib. painter, export, import then i try with Bryan's
statements but that didn't work either, still the same message, any
suggestions??

We use PB 6.5 again PFC with Oracle 8.0.4

-----Mensaje original-----
De: Bryan Cooper <[EMAIL PROTECTED]>
Para: 'Max B.' <[EMAIL PROTECTED]>
Fecha: Domingo, 13 de Junio de 1999 12:38 p.m.
Asunto: RE: PFCSIG OLE error


>Max,
> I'm not sure what property your control includes but try either one of
>these statements instead.
>
>ole_1.object.data = ole_blob
>ole_1.object.objectdata = ole_blob
>
>Bryan Cooper
>Cooper Software Services, Inc.
>http://www.users.nac.net/cooperb
>mailto:[EMAIL PROTECTED]
>
>-----Original Message-----
>From: Max B. [SMTP:[EMAIL PROTECTED]]
>Sent: Friday, June 11, 1999 10:59 PM
>To: [EMAIL PROTECTED]
>Subject: PFCSIG OLE error
>
>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.
>********
>
> << File: ATT00000.htm >>
>

> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to