Indicates whether a dataset supports certain types of operations.
function Supports(CursorOptions: TCursorOptions): Boolean;
__fastcall Boolean Supports(TCursorOptions CursorOptions);
Call Supports to determine whether the active recordset supports the cursor operations specified in CursorOptions. Supports will indicate the active recordset, as defined, will support such cursor functionality as adding new rows, using ADO bookmarks, deleting rows, and updating rows. Other cursor functionality can be specified.
CursorOptions specifies one or more TCursorOptions cursor operations.
If the recordset is active Supports returns a boolean whether the specified cursor operations are supported by the recordset. If all specified cursor operations are supported, Supports returns true, otherwise Supports returns false (one or more of the specified cursor operations are not supported by the recordset).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!