IDataSet

What it does

Represents a data set.

Methods

Definition Description
AddRecord ( dataSetRecord : IDataSetRecord ) Adds the record to the data set.
CreateQuery () : IDataSetQuery Creates a data set query object.
CreateRecord () : IDataSetRecord Creates a record that can be added to the data set later.
DeleteRecord ( dataSetRecord : IDataSetRecord )

Removes the data set record with the specified primary key **.

Sample

GetRecords (IDataSetQuery : query) : IRecordset Gets records that satisfy query parameters from the data set.
GetRecordsCount (IDataSetQuery : query) : int Gets the number of records from the data set that satisfy query parameters.
ModifyRecord ( dataSetRecord : IDataSetRecord )

Edits a data set record in a column with the specified primary key **.

Note: This method cannot be used to create or edit complex columns.

Sample

** The ModifyRecord and DeleteRecord methods only work with data sets that have a Primary Key column.

25.05.2023 7:55:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.