Comments on: Copying data from DBXReader to ClientDataSet http://www.andreanolanusse.com/en/copying-dbxreader-to-clientdataset-datasnap-2010/ Where Andreano Lanusse talk about technology, software development, programming techniques, databases, games and more through articles, tutorials and videos Tue, 07 Feb 2012 08:17:16 +0000 hourly 1 https://wordpress.org/?v=6.3.4 By: Copying data from ClientDataSet to DBXReader | Andreano Lanusse Blog | Technology and Software Development http://www.andreanolanusse.com/en/copying-dbxreader-to-clientdataset-datasnap-2010/#comment-6727 Tue, 22 Feb 2011 00:50:14 +0000 http://www.andreanolanusse.com/en/?p=305#comment-6727 […] probably already read my post Copying data from DBXReader to ClientDataSet, now is time to learn how copy data from ClientDataSet to DBXReader using Delphi or […]

]]>
By: Andreano Lanusse http://www.andreanolanusse.com/en/copying-dbxreader-to-clientdataset-datasnap-2010/#comment-6648 Tue, 15 Feb 2011 09:04:14 +0000 http://www.andreanolanusse.com/en/?p=305#comment-6648 In reply to Samuel.

Oi Samuel,

Vai na unit DBXDBReaders na procedure CopyValueTypeProperties, localize a linha onde está
if ValueType.DataType = TDBXDataTypes.WideStringType then

e mude para

if ValueType.DataType in [TDBXDataTypes.WideStringType, TDBXDataTypes.AnsiStringType] then

Isso irá resolver o problema de truncar.

]]>
By: Samuel http://www.andreanolanusse.com/en/copying-dbxreader-to-clientdataset-datasnap-2010/#comment-6638 Mon, 14 Feb 2011 13:47:16 +0000 http://www.andreanolanusse.com/en/?p=305#comment-6638 A função TDBXDataSetReader.CopyReaderToClientDataSet
acaba truncando os campos no cliente dataset! Como Resolver?

]]>