Ok cool will take a look.<br>I have finish something, then I will see what happens.<br><br>Jeremy<br><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 3:08 PM, Edward Koryagin <span dir="ltr"><<a href="mailto:ed_iv2001@yahoo.co.nz">ed_iv2001@yahoo.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can we do<br>
<br>
IBQuery1.ParamByName('blobby').Value := 'asdfdas';<br>
<br>
Edward Koryagin<br>
<br>
<br>
--- On Thu, 4/3/10, Jeremy North <<a href="mailto:jeremy.north@gmail.com">jeremy.north@gmail.com</a>> wrote:<br>
<br>
> From: Jeremy North <<a href="mailto:jeremy.north@gmail.com">jeremy.north@gmail.com</a>><br>
> Subject: Re: [DUG] Interbase Blobs in Delphi 2010<br>
> To: "NZ Borland Developers Group - Delphi List" <<a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>><br>
> Received: Thursday, 4 March, 2010, 3:00 PM<br>
<div><div></div><div class="h5">> Use the new BytesOf functions in the<br>
> SysUtils unit. TBytes is just an<br>
> array of TByte.<br>
><br>
> There is also a PlatformBytesOf function that you could<br>
> use.<br>
><br>
> You may also want to investigate the TEncoding class while<br>
> you are at it.<br>
><br>
> On Thu, Mar 4, 2010 at 11:08 AM, Jeremy Coulter <<a href="mailto:jscoulter@gmail.com">jscoulter@gmail.com</a>><br>
> wrote:<br>
> > Hi All.<br>
> > I am just working thru converting a D2007 app to<br>
> D2010.<br>
> > Its taken me most of the moring to get updated<br>
> controls, install them,<br>
> > convert strings etc.etc. but this one has stumpted<br>
> me.<br>
> ><br>
> > I am inserting some data into a blob field in<br>
> Interbase like so (or similar)<br>
> ><br>
> > IBQuery1.ParamByName('blobby').AsBlob := 'This is the<br>
> data to go into the<br>
> > blob field';<br>
> ><br>
> > Now interesingly enough, this works fine In D7 and<br>
> D2007, but D2010 says<br>
> > [DCC Error] untWebEPortal.pas(2223): E2010<br>
> Incompatible types: 'TBytes' and<br>
> > 'string'<br>
> ><br>
> > I guess I now have to do something else, can someone<br>
> point me in the right<br>
> > direction?<br>
> ><br>
> > Jeremy<br>
> ><br>
> > _______________________________________________<br>
> > NZ Borland Developers Group - Delphi mailing list<br>
> > Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> > Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> > Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a><br>
> with Subject:<br>
> > unsubscribe<br>
> ><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a><br>
> with Subject: unsubscribe<br>
><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br>
</div></div></blockquote></div><br>