Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Empty blob field in EWB
Mon, Dec 9 2019 9:07 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Hi All,

In delphi I can clear blob field with field.clear but it seems i cannot
do the same in EWB?

  Database.StartTransaction;
  try
      with myDataSet do begin
      Update;
      Columns['Picture'].clear;
      Save;
      end;
      Database.Commit;
      Showmessage('Picture gone!');
      except
      Database.Rollback;
      raise;
   end;

I've also tried with Columns['Picture'].asString := '';
Same effect. Anyone have an idea?

Regards,
Hüseyin
Mon, Dec 9 2019 1:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Huseyin,

<< In delphi I can clear blob field with field.clear but it seems i cannot do the same in EWB? >>

In EWB, BLOB columns are just string columns with links to the underlying BLOB data.  Because of this, EWB does not allow one to clear a BLOB column by simply clearing the EWB column.

However, I will take a look at this and see if there are any downsides to allowing this type of operation.  If not, then I will enable this functionality (currently, EWB just ignores updates to BLOB columns).

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Dec 9 2019 2:48 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Hi Tim,

Thanks for info. So currently only server (module) exists for clearing
the blob.

Regards,
Hüseyin

Den 09-12-2019 kl. 19:32 skrev Tim Young [Elevate Software]:
> Huseyin,
>
> << In delphi I can clear blob field with field.clear but it seems i cannot do the same in EWB? >>
>
> In EWB, BLOB columns are just string columns with links to the underlying BLOB data.  Because of this, EWB does not allow one to clear a BLOB column by simply clearing the EWB column.
>
> However, I will take a look at this and see if there are any downsides to allowing this type of operation.  If not, then I will enable this functionality (currently, EWB just ignores updates to BLOB columns).
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
Tue, Dec 10 2019 12:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Huseyin,

<< Thanks for info. So currently only server (module) exists for clearing the blob. >>

Correct.

Tim Young
Elevate Software
www.elevatesoft.com
Image