Data.DB.TDataSet Methods
InheritedProtected
_AddRef | protected | Called when an application uses a component interface. |
_Release | protected | Called when an application releases a component interface. |
ActivateBuffers | protected | Activates the buffers for the active record. |
ActiveBuffer | public | Returns a pointer to the buffer for the active record. |
AfterConstruction | public | Responds after the last constructor has executed. |
AllocRecordBuffer | protected | Allocates memory for the record buffer. |
Append | public | Adds a new, empty record to the end of the dataset. |
AppendRecord | public | Adds a new, populated record to the end of the dataset and posts it. |
Assign | public | Copies the contents of another similar object. |
AssignTo | protected | Copies the properties of an object to a destination object. |
AsyncSchedule | protected | Schedules asynch method calls. |
BeforeDestruction | public | Performs any necessary actions before the first destructor is called. |
BeginInvoke | public | Performs an asynchronous call to the method specified by either AProc or AFunc . |
BindFields | protected | Binds the TField components to the physical fields. |
BlockReadNext | protected | Moves to the record from the next block and reads it. |
BookmarkAvailable | protected | Verifies whether there is a bookmark available. |
BookmarkValid | public | Indicates the validity of a specified bookmark. |
CalculateFields | protected | Calculates the lookup fields. |
Cancel | public | Cancels modifications to the active record if those changes are not yet posted. |
CanObserve | protected | |
ChangeName | protected | Sets the private, internal storage for the Name property to the string passed in NewName . |
CheckActive | protected | Checks whether the dataset is active. |
CheckBiDirectional | protected | Checks whether the dataset is bidirectional. |
CheckBrowseMode | public | Automatically posts or cancels data changes when the active record changes. |
CheckDisposed | protected | This method is deprecated. |
CheckFieldCompatibility | protected | Checks the compatibility of a field. |
CheckInactive | protected | Checks whether the dataset is inactive. |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
ClearBuffers | protected | Clears the buffers for the active record. |
ClearCalcFields | protected | Clears the lookup and calculated fields. |
ClearFields | public | Clears the contents of all fields for the active record. |
Close | public | Closes a dataset. |
CloseBlob | protected | Closes a binary large object field. |
CloseCursor | protected | Closes the dataset cursor. |
CompareBookmarks | public | Implements a virtual function to compare two bookmarks. |
ControlsDisabled | public | Indicates whether data-aware controls update their display to reflect changes to the dataset. |
CopyFields | public | CopyFields copies the field definition structure of another dataset. |
Create | public | Creates an instance of a TDataSet component. |
CreateBlobStream | public | Provides the interface for a method that creates a blob stream for a Binary large object (BLOB) field in the dataset. |
CreateFields | protected | Creates the automatic fields. |
CreateNestedDataSet | protected | Creates a nested dataset. |
CursorPosChanged | public | Marks the internal cursor position as invalid. |
DataConvert | protected | Converts the data depending on the field type. |
DataEvent | protected | Notifies the attached dataset about a specific event. |
DefaultFields (deprecated) | public | Indicates whether a dataset's underlying field components are generated dynamically when the dataset is opened. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefChanged | protected | Event handler that updates the field definition. |
DefineProperties | protected | Designates methods for storing an object's unpublished data on a stream such as a form file. |
Delete | public | Deletes the active record and positions the dataset on the next record. |
Destroy | public | Destroys the TDataSet instance. |
DestroyComponents | public | Destroys all owned components. |
DestroyFields | protected | Destroys the dataset automatic fields. |
Destroying | public | Indicates that the component and its owned components are about to be destroyed. |
DisableControls | public | Disables data display in data-aware controls associated with the dataset. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
DoAfterCancel | protected | AfterCancel event dispatcher. |
DoAfterClose | protected | AfterClose event dispatcher. |
DoAfterDelete | protected | AfterDelete event dispatcher. |
DoAfterEdit | protected | AfterEdit event dispatcher. |
DoAfterInsert | protected | AfterInsert event dispatcher. |
DoAfterOpen | protected | AfterOpen event dispatcher. |
DoAfterPost | protected | AfterPost event dispatcher. |
DoAfterRefresh | protected | AfterRefresh event dispatcher. |
DoAfterScroll | protected | AfterScroll event dispatcher. |
DoBeforeCancel | protected | BeforeCancel event dispatcher. |
DoBeforeClose | protected | BeforeClose event dispatcher. |
DoBeforeDelete | protected | BeforeDelete event dispatcher. |
DoBeforeEdit | protected | BeforeEdit event dispatcher. |
DoBeforeInsert | protected | BeforeInsert event dispatcher. |
DoBeforeOpen | protected | BeforeOpen event dispatcher. |
DoBeforePost | protected | BeforePost event dispatcher. |
DoBeforeRefresh | protected | BeforeRefresh event dispatcher. |
DoBeforeScroll | protected | BeforeScroll event dispatcher. |
DoOnCalcFields | protected | OnCalcFields event dispatcher. |
DoOnNewRecord | protected | OnNewRecord event dispatcher. |
Edit | public | Enables editing of data in the dataset. |
EnableControls | public | Re-enables data display in data-aware controls associated with the dataset. |
EndFunctionInvoke | public | Blocks the caller until the specified ASyncResult completes. |
EndInvoke | public | Blocks the caller until the specified ASyncResult completes. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
ExecuteAction | public | Executes an action. |
FieldAddress | public | Returns the address of a published object field. |
FieldByName | public | Finds a field based on its name. |
FieldByNumber | protected | Finds a field based on the ordinal position of its column in the underlying table or query. |
FindComponent | public | Indicates whether a given component is owned by the component. |
FindField | public | Searches for a specified field in the dataset. |
FindFirst | public | Implements a virtual method for positioning the dataset on the first record, respecting any filters. |
FindLast | public | Implements a virtual method for positioning the dataset on the last record, respecting any filters. |
FindNext | public | Implements a virtual method for positioning the dataset on the next record, respecting any filters. |
FindPrior | public | Implements a virtual method for positioning the dataset on the previous record, respecting any filters. |
FindRecord | protected | Implements a virtual method for positioning the dataset on a specific record, respecting any filters. |
First | public | Moves to the first record in the dataset. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeBookmark | public | Frees the resources allocated for a specified bookmark (somewhat obsolete). |
FreeFieldBuffers | protected | Frees the field buffers. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
FreeNotification | public | Ensures that AComponent is notified that the component is going to be destroyed. |
FreeOnRelease | public | Frees the interface reference for components that were created from COM classes. |
FreeRecordBuffer | protected | Frees the record buffer. |
GetAggFieldsClass | protected | Returns the metaclass for the aggregate fields. |
GetAggRecordCount | protected | Returns the number of aggregate fields. |
GetAggregateValue | protected | Returns the value for an aggregate field. |
GetBlobFieldData | public | Reads BLOB data into a buffer. |
GetBookmark | public | Allocates a bookmark for the active record in the dataset. |
GetBookmarkData | protected | Gets the bookmark for the record buffer given by the parameter. |
GetBookmarkFlag | protected | Gets the bookmark flag for the record buffer given by the parameter. |
GetBookmarkStr (deprecated) | protected | Gets a bookmark represented as a string. |
GetCalcFields | protected | Computes the lookup and calculated fields and updates the status. |
GetCalcFieldTypes | protected | |
GetCanModify | protected | Returns whether a dataset permits write access to data. |
GetCanRefresh | protected | |
GetCheckConstraintsClass | protected | Returns the metaclass for TCheckConstraints. |
GetChildOwner | protected | Returns the owner of a child component being read from a stream. |
GetChildParent | protected | Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream. |
GetChildren | protected | Enumerates all the owned datasets that are also owned by the specified TComponent. |
GetClonedDataSet | public | Creates a new instance of the TDataSet derived class and clones the structure and data of this dataset to the new instance. |
GetCurrentRecord | public | Implements a virtual function to retrieve the current record in a buffer. |
GetDataSource | protected | Returns the data source for the dataset. |
GetDeltaStreams | protected | |
GetDetailDataSets | public | Fills a list with a dataset for every detail dataset that is not the value of a nested dataset field. |
GetDetailLinkFields | public | Introduces a method to list the field components that link this dataset as a detail of a master dataset. |
GetDisposed | protected | Getter for the Disposed property. |
GetEnumerator | public | Returns a TComponent enumerator. |
GetFieldClass | protected | Returns the metaclass for a field class. |
GetFieldData | public | Retrieves the current value of a field into a buffer. |
GetFieldDefListClass | protected | Returns the metaclass for a field definition list class. |
GetFieldDefsClass | protected | Returns the metaclass of the TFieldDefs class. |
GetFieldFullName | protected | Returns the full name of the field. |
GetFieldList | public | Retrieves a specified set of field objects into a list. |
GetFieldListClass | protected | Returns the metaclass for a field list class. |
GetFieldNames | public | Retrieves a list of names for all fields in a dataset. |
GetFieldsClass | protected | Returns the TFields descendant metaclass. |
GetHashCode | public | Returns an integer containing the hash code. |
GetIDsOfNames | protected | Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). |
GetIndexDefs | protected | Returns the definitions of all specified indexes defined for the dataset. |
GetIndexDefsClass | protected | Returns the metaclass for an index definition list. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetIsIndexField | protected | Checks whether the given field is an index field. |
GetLookupListClass | protected | Returns the metaclass for a lookup field list class. |
GetModifiedBlobCached | protected | |
GetNamePath | public | Returns a string used by the Object Inspector. |
GetNextRecord | protected | Moves to the next record. |
GetNextRecords | protected | Moves to the last record of the dataset. |
GetObservers | protected | Getter of Observers. |
GetOwner | protected | Returns the owner of a component. |
GetParamsClass | protected | Returns the metaclass for a list of field parameters. |
GetParentComponent | public | Returns the containing component. |
GetPriorRecord | protected | Moves to the prior record. |
GetPriorRecords | protected | Moves to the first record of the dataset. |
GetRecNo | protected | Returns the position of the active record in the dataset. GetRecNo is a getter method for the RecNo property. |
GetRecord | protected | Moves to the specified record. |
GetRecordCount | protected | Returns the total number of records in the dataset. |
GetRecordSize | protected | Returns the size of a record in the dataset. |
GetStateFieldValue | protected | Returns a Field as a Variant. |
GetTypeInfo | protected | Retrieves the type information for an object. |
GetTypeInfoCount | protected | Returns the number of type information interfaces that an object provides (either 0 or 1). |
GotoBookmark | public | Implements a virtual method to position the dataset on the record to which a specified bookmark points. |
HasParent | public | Verifies whether the component has a parent. |
InheritsFrom | public | Determines the relationship of two object types. |
InitFieldDefs | protected | Initializes the field definitions. |
InitFieldDefsFromFields | protected | Initializes the field definitions from persistent fields. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InitRecord | protected | Initializes a record. |
Insert | public | Inserts a new, empty record in the dataset. |
InsertComponent | public | Establishes the component as the owner of a specified component. |
InsertRecord | public | Inserts a new, populated record to the dataset and posts it. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
InternalAddRecord | protected | Adds a record to the dataset. |
InternalCancel | protected | Cancels the modification made to the current record of the dataset. |
InternalClose | protected | Closes the dataset table and disconnects the fields. |
InternalDelete | protected | Used internally to delete the current record. |
InternalEdit | protected | Used to edit the current record from the dataset. |
InternalFirst | protected | Moves to a position "before" the first record of the dataset. |
InternalGotoBookmark | protected | Moves to the record with the given bookmark. |
InternalHandleException | protected | Responds to exceptions related to TDataSet objects. |
InternalInitFieldDefs | protected | Determines the field definitions for the dataset's records. |
InternalInitRecord | protected | Initializes a record buffer. |
InternalInsert | protected | Used to insert an empty record in the dataset. |
InternalLast | protected | Moves to a position "after" the last record of the dataset. |
InternalOpen | protected | Initializes and opens the data stream. |
InternalPost | protected | Used to post data in the dataset. |
InternalRefresh | protected | Refreshes the dataset with data from the database. |
InternalSetToRecord | protected | Moves to the record with the given record buffer. |
Invoke | protected | Provides access to Automation properties and methods when the component wraps an Automation object. |
IsCursorOpen | protected | Tests whether the dataset is open. |
IsEmpty | public | Indicates whether the dataset contains no records. |
IsImplementorOf | public | Indicates whether the component implements a specified interface. |
IsLinkedTo | public | Indicates whether a dataset is linked to a specified data source. |
IsSequenced | public | Indicates whether the underlying database table uses record numbers to indicate the order of records. |
Last | public | Moves to the last record in the dataset. |
Loaded | protected | |
Locate | public | Implements a virtual method for searching a dataset for a specified record and making it the active record. |
Lookup | public | Implements a virtual method to retrieve field values from a record that matches specified search values. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
MoveBy | public | Moves to another record relative to the active record in the dataset. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Next | public | Moves to the next record in the dataset. |
Notification | protected | Forwards notification messages to all owned components. |
ObserverAdded | protected | |
Open | public | Opens the dataset. |
OpenCursor | protected | Opens the dataset cursor. |
OpenCursorComplete | protected | Opens the database cursor and triggers an AfterOpen event. |
OpenParentDataSet | protected | Opens the parent dataset. |
operator [] | public | |
operator () | public | |
Post | public | Implements a virtual method to write a modified record to the database or change log. |
Prior | public | Moves to the previous record in the dataset. |
PSEndTransaction | protected | Ends a transaction that was started by a call to PSStartTransaction. |
PSExecute | protected | Executes the SQL command associated with the dataset. |
PSExecuteStatement | protected | Executes a specified SQL command. |
PSGetAttributes | protected | Returns information that is stored in data packets as Name/Value pairs. |
PSGetCommandText | protected | Gets the SQL command to be executed by PSExecute. |
PSGetCommandType | protected | Gets the command type to be executed by PSExecute. |
PSGetDefaultOrder | protected | Returns the definition of an index that imposes the default order on the data included in data packets. |
PSGetIndexDefs | protected | Returns the definitions of all specified indexes defined for the dataset. |
PSGetKeyFields | protected | Returns the names of all fields required to uniquely identify records in the data packet. |
PSGetParams | protected | Returns the current parameter values of the dataset. |
PSGetQuoteChar | protected | Returns the character or characters to use in generated SQL statements to enclose quoted strings. |
PSGetTableName | protected | Returns the name of the dataset table that appears in generated SQL statements. |
PSGetUpdateException | protected | Generates an EUpdateError object based on another exception object. |
PSInTransaction | protected | Indicates whether actions against the dataset occur in the context of a transaction. |
PSIsSQLBased | protected | Indicates whether the dataset includes native SQL support. |
PSIsSQLSupported | protected | Indicates whether the dataset can execute SQL statements. |
PSReset | protected | Resets the dataset so that it is positioned on the first record. |
PSSetCommandText | protected | Assigns a specified SQL command to be executed by PSExecute. |
PSSetParams | protected | Assigns the specified parameter values to the dataset. |
PSStartTransaction | protected | Starts a transaction that encapsulates all activity until a call to PSEndTransaction. |
PSUpdateRecord | protected | Applies a single update to the underlying database table or tables. |
QualifiedClassName | public | Returns the qualified name of the class. |
QueryInterface | protected | Returns a reference to a specified interface if the current component supports that interface. |
ReadState | protected | Reads the state of the component. |
ReferenceInterface | public | Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. |
Refresh | public | Re-fetches data from the database to update a dataset's view of data. |
RefreshInternalCalcFields | protected | Refreshes the calculated fields. |
RemoveComponent | public | Removes a specified component specified from the component's Components list. |
RemoveFreeNotification | public | Disables the destruction notification that was enabled by FreeNotification. |
RemoveFreeNotifications | protected | Notifies all owned components of the owner component's imminent destruction. |
ResetAggField | protected | Resets the aggregate field. |
RestoreState | protected | Restores the operating mode of the dataset to the given value. |
Resync | public | Re-fetches the active record and the records that precede and follow it. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SetActive | protected | Changes the dataset's state to active. |
SetAncestor | protected | Clears or sets csAncestor state in the component's ComponentState property. |
SetBlockReadSize | protected | Setter method for BlockReadSize. |
SetBof | protected | |
SetBookmarkData | protected | Sets the bookmark for the record buffer given by the parameter. |
SetBookmarkFlag | protected | Sets the bookmark flag for the record buffer given by the parameter. |
SetBookmarkStr (deprecated) | protected | Sets a bookmark represented as a string. |
SetBufListSize | protected | Sets the size of the buffer list. |
SetChildOrder | protected | Sets the visual ordering of a child dataset. |
SetCurrentRecord | protected | Moves to the record given by the index. |
SetDataSetField | protected | Sets the persistent TDataSetField object that owns a nested dataset. |
SetDefaultFields (deprecated) | protected | Specifies whether a dataset's underlying field components are generated dynamically when the dataset is opened. |
SetDesigning | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetDesignInstance | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetEof | protected | |
SetFieldData | protected | Sets the buffer to the current field. |
SetFieldDefProps | protected | Sets the properties of the specified FieldDef from the Field parameter. |
SetFieldProps | protected | Sets the properties of the specified Field from the FieldDef parameter. |
SetFields | public | Sets the values for all fields in a record |
SetFiltered | protected | Setter method for Filtered. |
SetFilterOptions | protected | Setter method for FilterOptions. |
SetFilterText | protected | Setter method for Filter. |
SetFound | protected | Sets a "found" flag. |
SetInline | protected | Sets the csInline bit of the component's ComponentState property. |
SetModified | protected | Used internally to set the Modified property. |
SetName | protected | |
SetObjectView | protected | Sets the ObjectView property. |
SetOnFilterRecord | protected | OnFilterRecord event setter method. |
SetParentComponent | protected | Sets the parent component. |
SetRecNo | protected | Sets the active record in the dataset. |
SetState | protected | Sets the dataset's state. |
SetStateFieldValue | protected | Sets a Field to a Value . |
SetSubComponent | public | Identifies whether the component is a subcomponent. |
SetTempState | protected | Restores the operating mode of the dataset to the given value. |
SetUniDirectional | protected | Sets the dataset type: unidirectional or not. |
SetValidatingField | protected | |
TempBuffer | protected | Returns a temporary buffer. |
ToString | public | Returns a string containing the class name. |
Translate | public | Implements a virtual procedure to copy a data string from a source to a destination, optionally performing character translation during the copy. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
UpdateAction | public | Updates the state of an action. |
UpdateBufferCount | protected | Updates the buffer count. |
UpdateCursorPos | public | Positions the cursor on the active record. |
Updated | protected | Clears the csUpdating state in the component's ComponentState property when the component finishes updating. |
UpdateIndexDefs | protected | Updates the index definitions. |
UpdateRecord | public | Ensures that data-aware controls and detail datasets reflect record updates. |
UpdateRegistry | protected | Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. |
UpdateStatus | public | Reports the update status for the active record. |
Updating | protected | Sets the csUpdating state in the component's ComponentState property. |
ValidateContainer | protected | Determines whether an object can be inserted into a container. |
ValidateInsert | protected | Provides the interface for a method that validates a child component before it is inserted. |
ValidateRename | protected | Ensures that renaming an owned component does not create a name conflict. |
WriteState | protected | Writes the state of the component. |