<div dir="auto">You don't need to use a stream just do <div dir="auto">Dataset.fieldbyname('somecolumn').asstring:=mystringlist.text</div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 20, 2017 10:02 AM, "Terry A. Haimann" <<a href="mailto:terry@haimann.us">terry@haimann.us</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
This is probably a dumb question.  But I have data in a tstringlist that<br>
I want to upload into a MediumText MySQL column.  It looks to me as if<br>
you do something like:<br>
<br>
        Stream := TMemoryStream.Create;<br>
        MySL.SaveToStream(Stream);<br>
        Blobfield(BcfQuery.<wbr>FieldByName('JobMemo')).<br>
                LoadFromStream(Stream);<br>
<br>
But what I don't understand is how I indicate what row to add the<br>
MediumText field to.  Is there some way to combine this with an insert<br>
or update statement.  I have done a lot in the past with MySQL and<br>
FreePascal, but I have mostly or entirely worked with standard columnar<br>
data, i.e. (Strings, floats and integers).<br>
<br>
Thanks in advance,<br>
<br>
Terry H.<br>
<br>
______________________________<wbr>_________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.<wbr>org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/<wbr>cgi-bin/mailman/listinfo/fpc-<wbr>pascal</a></blockquote></div></div>