Page 1 of 1

TIBCLOADER PutColumnData empty blob

Posted: Mon 22 Sep 2014 10:12
by Alexis
Hello,

I have a problem with the method PutColumnData of TIBCLoader component.
I want to insert a empty blob and not a null blob but i can't, it always insert a null value in my blob field.
Does it exist a option like the TIBCDataSetOptions.SetEmptyStrToNull for the TIBCLoader ?

This insert a null value : Sender.PutColumnData(0, 0, '');

Re: TIBCLOADER PutColumnData empty blob

Posted: Mon 22 Sep 2014 11:37
by ViktorV
Unfortunately, we cannot implement this functionality, since Delphi considers a Blob field as null.
You can make this sure, for example, by taking a look at implementation of the TBlobField.GetIsNull function in the Data.DB.pas standard Delphi module.

Re: TIBCLOADER PutColumnData empty blob

Posted: Mon 22 Sep 2014 13:36
by Alexis
Thank you for this quickly response.

Re: TIBCLOADER PutColumnData empty blob

Posted: Fri 26 Sep 2014 06:27
by ViktorV
Feel free to contact us if you have any further questions.