Does TUniQuery have the property with the same functional as TFIBDataset.AllowedUpdateKinds

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wix
Posts: 5
Joined: Sat 05 Oct 2013 05:17

Does TUniQuery have the property with the same functional as TFIBDataset.AllowedUpdateKinds

Post by wix » Mon 14 Oct 2013 13:05

I need to set permissions for insert, update and delete operations directly without clearing appropriate SQLs. Is that possible?

AndreyZ

Re: Does TUniQuery have the property with the same functional as TFIBDataset.AllowedUpdateKinds

Post by AndreyZ » Tue 15 Oct 2013 08:21

It is possible to specify the allowed operations when calling the ApplyUpdates method. For more information, please refer to http://www.devart.com/unidac/docs/devar ... kinds).htm

wix
Posts: 5
Joined: Sat 05 Oct 2013 05:17

Re: Does TUniQuery have the property with the same functional as TFIBDataset.AllowedUpdateKinds

Post by wix » Tue 15 Oct 2013 13:13

Have I understood correctly that I have to use the ApplyUpdates method instead of Post?

AndreyZ

Re: Does TUniQuery have the property with the same functional as TFIBDataset.AllowedUpdateKinds

Post by AndreyZ » Tue 15 Oct 2013 13:57

The ApplyUpdates method can be used only in the CachedUpdates mode. In this mode, when the Post method is called, all updates are stored on a client. To apply them on the server, you should call the ApplyUpdates method.

Post Reply