Subject RE: [IBO] Complementing my before post
Author Jason Wharton
Posting a record that has a blob when using cached updates does not result
in anything happening on the server yet. The blob simply remains in memory
and is not sent to the server until updates are processed.

Jason Wharton

> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Delmar Wichnieski (Delta Corporation)
> Sent: Monday, November 06, 2006 9:19 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Complementing my before post
>
>
> Hi Jason
>
> Jason, I will try TDataset.CreateBlobStream() method and
> after I return to
> say.
> At this moment, I want comment that if I use CacheUpdates=
> True and I use
> applyupdates instead post, the problem don't happen and I
> need no code, only
> load picture.
> Then, I suppouse that this problem is connected with the post.
> What can you say about this?
> Delmar
>
> ----- Original Message -----
> From: "Jason Wharton" <supportlist@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, November 06, 2006 4:59 PM
> Subject: RE: [IBO] Complementing my before post
>
>
> >> BlobStream := TblobStream.Create(IBOQUERY1FOTO, bmReadWrite);
> >>
> >> I'm getting error:
> >>
> >> Projetct Projetct1.exe raised exception class EInvalidCast
> >> with message 'Invalid class typecast'. Process stopped. Use
> >> Step or Run to continue
> >
> > Use the TDataset.CreateBlobStream() method where all the
> plumbinb is done
> > for you using inheritance.
> >
> > Jason Wharton