UniTable in memory

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
testpresta
Posts: 32
Joined: Sat 07 Jun 2014 19:41

UniTable in memory

Post by testpresta » Sun 22 Jun 2014 09:52

Hello

is it possible to work with a TUniTable component and make operations on memory (append, edit, post) ?
When the user validate, i want to write on database.
I have tried TUniTransaction but data is written on database in real time (not when i commit...)

Thanks

FCS
Posts: 176
Joined: Sat 23 Feb 2013 18:46

Re: UniTable in memory

Post by FCS » Sun 22 Jun 2014 11:54

Hello,

You can try the TVirtualTable component from the Data Access palette.
After validation you can write changes to a database table.

Regards
Michal

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UniTable in memory

Post by AlexP » Mon 23 Jun 2014 08:40

Hello,

You can use the CachedUpdates mode. In this mode, all the changes are saved in the DataSet, direct saving to the database is performed only after calling the ApplyUpdates method: http://www.devart.com/unidac/docs/devar ... pdates.htm .

Post Reply