I checked my code again and I found I did post after I check the
blob/memo field values.
I think it is probably a bug, rather than a feature as all fields
should be the same: values get updated even without calling post.
Yes, I agree.
As I wrote I will look at it ... if I find smart
Dennis Poon wrote:
All the other usual types (e.g. integer, string, datetime) work except
ftMemo and ftblob.
Yes, I have used POST
Dennis
LacaK wrote:
AFAIR this is so. (we can call it bug ;-))
Data are not there until you Post record.
After Post you will see data there, right?
-Laco.
I checked my code again and I found I did post after I check the
blob/memo field values.
I think it is probably a bug, rather than a feature as all fields
should be the same: values get updated even without calling post.
Yes, I agree.
As I wrote I will look at it ... if I find smart
I created a TMemoField in TBufDataSet but no matter I do:
1) Field.asString := 'some value'
or
2) Field.LoadFromStream(someStream).
Afterwards, this F.AsString always returns ''
and
F.LoadFromStream(someStream) always has a 0 BlobSize afterwards.
Anyone has similar experience?
Dennis
All the other usual types (e.g. integer, string, datetime) work except
ftMemo and ftblob.
Yes, I have used POST
Dennis
LacaK wrote:
AFAIR this is so. (we can call it bug ;-))
Data are not there until you Post record.
After Post you will see data there, right?
-Laco.
All the other usual types (e.g. integer, string, datetime) work Yes it is expected behaviorexcept ftMemo and ftblob. Yes it is not consistent and from my POV it is bug.I will look (next week or two) if it can be fixed, but I have doubts, that it will not be so easy