Page 1 of 1

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

Posted: Mon 14 Oct 2013 13:05
by wix
I need to set permissions for insert, update and delete operations directly without clearing appropriate SQLs. Is that possible?

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

Posted: Tue 15 Oct 2013 08:21
by AndreyZ
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

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

Posted: Tue 15 Oct 2013 13:13
by wix
Have I understood correctly that I have to use the ApplyUpdates method instead of Post?

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

Posted: Tue 15 Oct 2013 13:57
by AndreyZ
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.