copying a blob

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

copying a blob

Post by sandy771 » Thu 17 Jan 2013 23:18

Is there an easy way to copy a blob between records i.e. something along the lines of

UniQuery1->FieldByName("blb")->AsBlob = UniQuery2->FieldByName("blb")->AsBlob

If not what method is suggested

Thnaks?

CristianP
Posts: 79
Joined: Fri 07 Dec 2012 07:44
Location: Timișoara, Romania

Re: copying a blob

Post by CristianP » Fri 18 Jan 2013 13:33

Hi,

I use in Delphi Field.AsVariant := Field.AsVariant

Best Regards,
Cristian Peta

sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

Re: copying a blob

Post by sandy771 » Fri 18 Jan 2013 13:42

Thanks, never thought of that - obvious really.

Post Reply