Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSQuery.RequestLive
TABSQuery
Top 


Specifies whether an application expects to receive a live result set when the query executes.

property RequestLive: Boolean;

Description
Set RequestLive to specify whether or not the Absolute Database engine should attempt to return a live result set to the application. RequestLive is False by default, meaning that a query always returns a read-only result set.

Set RequestLive to True to request a live result set. Setting RequestLive to True does not guarantee that a live result set is returned by the TABSQuery. The query returns a live result set only if the SELECT syntax of the query conforms to the syntax requirements for a live result set. TABSQuery can return live result for single-table query only.

If RequestLive is True, but the syntax does not conform to the requirements, the Absolute Database engine returns a read-only result set.

After activating the TABSQuery, inspect the CanModify property to determine whether the request for a live result set was successful.


        © 2003 - 2017 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 16, 2017