CopyReaderToClientDataSet, Blob and the message “Feature not implemented”

Let's share the knowledge with your friends

If you have used the method TDBXDataSetReader.CopyReaderToClientDataSet, you probably came across with the message “Feature not implemented”, this exception occurs because the method CopyReaderToClientDataSet can’t copy Blob fields from the DBXReader to the ClientDataSet.

This is no longer a problem, Delphi XE2 Update 2 changed this behavior and now supports Blob text fields when using the CopyReaderToClientDataSet method. The Blog binary support is not implemented yet.

To learn how to use the method CopyReaderToClientDataSet read the article “Copying data from ClientDataSet to DBXReader


Let's share the knowledge with your friends
2 replies
  1. Patrick Thibodeaux
    Patrick Thibodeaux says:

    I have been trying to make this work for days and just can’t figure it out.

    I am using datasnap client call to a datasnap rest server. It returns my User record from a Sql Server 2008 tblUser table that has first name, last name, etc but has a picture of the person, field name is “Photo” (ie. .bmp, .jpg, .png, etc) all returned in a TDBXReader.

    I use TDBXDataSetReader.CopyReaderToClientDataSet that creates my clientdataset and the “Photo” field is created as a blob field. I want to show the contents of the blob Photo field in a TImage. Can you tell me how to do this?

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.