Check other records before post

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zidane
Posts: 1
Joined: Wed 05 Feb 2020 13:40

Check other records before post

Post by zidane » Wed 05 Feb 2020 13:47

Hi,
i have a TUniQuery with CachedUpdates=True and need to check other records for duplicate on before post event.
in ado i can use recordset to access data without changing state or current record. i can't find something similar to use in unidac.
thanks for your support

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Check other records before post

Post by Stellar » Thu 06 Feb 2020 10:14

TUniQuery and TUniTable are descendants of the standard component TDataSet, which doesn't allow access to the internal recordset.
If Embarcadero implements in TDataSet the ability to navigate across a dataset without changing the current state, our components will automatically support this functionality as well.

Post Reply