Page 1 of 1

ShowRecordTypes, explanation, how to use?

Posted: 18.03.2022, 21:38
by hamacker
Now I am writting about zquery and I found this property "ShowRecordTypes", that I not found any doc via google, except this:
https://lazarus.intern.ws/zeos_zquery.html
but none explanation.
I think that is similar a firedac to extract "delta" before commit updates, is it the same?
there is a example to see this property in action?

Re: ShowRecordTypes, explanation, how to use?

Posted: 23.03.2022, 16:53
by marsupilami
Hello Hamacker,

I never used it. But ShowRecordTypes only makes sense with CachedUpdates. If you cache updates, you might want to show what was deleted or what was modified only. One can do that using the ShowRecordTypes property. Setting ShowRecordTypes to utDeleted when cachedUpdates is true most probably will list all deleted records. Does that help?

Best regards,

Jan

Re: ShowRecordTypes, explanation, how to use?

Posted: 29.03.2022, 17:42
by hamacker
Thanks Jan, I think the same.