ShowRecordTypes, explanation, how to use?

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
hamacker
Junior Boarder
Junior Boarder
Posts: 37
Joined: 13.10.2021, 15:15

ShowRecordTypes, explanation, how to use?

Post 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?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: ShowRecordTypes, explanation, how to use?

Post 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
hamacker
Junior Boarder
Junior Boarder
Posts: 37
Joined: 13.10.2021, 15:15

Re: ShowRecordTypes, explanation, how to use?

Post by hamacker »

Thanks Jan, I think the same.
Post Reply