<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: RxMemoryData1.LoadFromDataSet bug?</title><link>https://sourceforge.net/p/rxlib/bugs/2/</link><description>Recent changes to 2: RxMemoryData1.LoadFromDataSet bug?</description><atom:link href="https://sourceforge.net/p/rxlib/bugs/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 19 Apr 2002 18:52:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rxlib/bugs/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>RxMemoryData1.LoadFromDataSet bug?</title><link>https://sourceforge.net/p/rxlib/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Folks,&lt;/p&gt;
&lt;p&gt;have you noticed that for RXLib package when using &lt;br /&gt;
RXMemoryData component and for this component using &lt;br /&gt;
smth. like:&lt;br /&gt;
RxMemoryData1.LoadFromDataSet(ADODataSet2, &lt;br /&gt;
ADODataSet2.RecordCount, lmCopy);&lt;br /&gt;
where ADODataSet represents ADO record set with &lt;br /&gt;
UNICODE (MS SQL -nvarchar) fields the data for these &lt;br /&gt;
fields are not copied to RXMemoryData component !?&lt;/p&gt;
&lt;p&gt;In DBUtils.pas module routine AssignRecord(...) has &lt;br /&gt;
the following code :&lt;br /&gt;
....&lt;br /&gt;
{$IFDEF WIN32}&lt;br /&gt;
F.Value := Source.Fields[I].Value;&lt;br /&gt;
{$ELSE}&lt;br /&gt;
....&lt;/p&gt;
&lt;p&gt;F.Value still NULL after assignment even though &lt;br /&gt;
Source.Fields[I].Value has a not NULL value for &lt;br /&gt;
ftWideString fields.&lt;/p&gt;
&lt;p&gt;The problem not only in MS SQL narchar fields, 'cause &lt;br /&gt;
i can duplicate the same problem by using &lt;br /&gt;
Microsoft.Jet.OLEDB.4.0 for Excel8.0 to bring XLS file &lt;br /&gt;
to a ADO recordset.&lt;/p&gt;
&lt;p&gt;Any ideas why assigning Variant to Variant fails for &lt;br /&gt;
DataType ftWideString ?&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;_/_/_/   _/_/_/ _/_/_/  _/_/_/    _/_/_/&lt;br /&gt;
_/    _/  _/     _/   _/ _/   /_/  _/     &lt;br /&gt;
_/_/     _/     _/   _/ _/        _/  (&amp;amp;quot;`-''-&lt;br /&gt;
/&amp;amp;quot;).___..--''&amp;amp;quot;`-._ &lt;br /&gt;
_/_/   _/_/   _/_/_/  _/        _/_/  `o_ o  ) &lt;br /&gt;
`-.  (     .'..')&lt;br /&gt;
_/  _/     _/_/    _/   /_/  _/   &lt;br /&gt;
(_Y_.)'  ._   )  `._ `. `..'&lt;br /&gt;
_/    _/ _/     _/  _/  _/    _/  _/    _ .`--'_..-&lt;br /&gt;
_/  /--'_.' .'&lt;br /&gt;
_/_/_/  _/_/_/ _/    _/  _/_/_/  _/_/_/(il).-''&lt;br /&gt;
(li).'  ((!.-' &lt;/p&gt;
&lt;p&gt;///////////////////////////////////////////////////////&lt;br /&gt;
////////////////&lt;br /&gt;
//  Serge Shimanovsky  //    E-Mail: &lt;br /&gt;
serge.shimanovsky@multex.com    //&lt;br /&gt;
// Computer Programmer //     Phone:   Available upon &lt;br /&gt;
request        //&lt;br /&gt;
///////////////////////////////////////////////////////&lt;br /&gt;
////////////////&lt;br /&gt;
This email message is for the sole use of the intended &lt;br /&gt;
recipient(s) and may contain confidential and &lt;br /&gt;
privileged information. Any unauthorized review, use, &lt;br /&gt;
disclosure or distribution is prohibited. If you are &lt;br /&gt;
not the intended recipient, please contact the sender &lt;br /&gt;
by reply email and destroy all copies of the original &lt;br /&gt;
message. Any views expressed in the email message are &lt;br /&gt;
those of the individual sender except where the sender &lt;br /&gt;
specifically states them to be the views of &lt;br /&gt;
Multex.com, Inc.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 19 Apr 2002 18:52:51 -0000</pubDate><guid>https://sourceforge.net5445ac603f41eb01e5aba9780d45af38eee3e902</guid></item></channel></rss>