Page 1 of 1
clear blob field image
Posted: 10.07.2024, 16:58
by Dfox
Good afternoon, when trying to clear an image from a blob field it doesn't work
example
Zquery.FieldByName('logo').Value := null;
in version 7.2.14-stable it worked
Re: clear blob field image
Posted: 10.07.2024, 18:55
by aehimself
Have you tried query.FieldByName('').Clear; ?
Re: clear blob field image
Posted: 10.07.2024, 23:43
by Dfox
aehimself wrote: ↑10.07.2024, 18:55
Have you tried
query.FieldByName('').Clear; ?
I tried and it didn't work
Re: clear blob field image
Posted: 10.07.2024, 23:55
by Dfox
I removed the field and added it again and it worked
thanks
Re: clear blob field image
Posted: 11.07.2024, 11:54
by aehimself
You mean this field was calculated / in a memtable?
It's possible that we have a bug, would be nice to reproduce the issue so we can solve it.