Bde.DBTables.TQuery Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
ActivateBuffersprotectedActivates the buffers for the active record.
ActivateFiltersprotected
ActiveBufferpublicReturns a pointer to the buffer for the active record.
AddFieldDescprotected
AfterConstructionpublicResponds after the last constructor has executed.
AllocCachedUpdateBuffersprotected
AllocKeyBuffersprotected
AllocRecordBufferprotected
AppendpublicAdds a new, empty record to the end of the dataset.
AppendRecordpublicAdds a new, populated record to the end of the dataset and posts it.
ApplyUpdatespublicWrites a dataset's pending cached updates to the database.
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
AsyncScheduleprotectedSchedules asynch method calls.
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
BindFieldsprotectedBinds the TField components to the physical fields.
BlockReadNextprotected
BookmarkAvailableprotectedVerifies whether there is a bookmark available.
BookmarkValidpublicTests the validity of a specified bookmark.
CachedUpdateCallBackprotected
CalculateFields (deprecated)protectedCalculates the lookup fields.
CancelpublicCancels modifications to the current record if those changes are not yet posted.
CancelUpdatespublicClears all pending cached updates from the cache and restores the dataset its prior state.
CanObserveprotectedChecks if a component can be observed by a particular observer.
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
CheckActiveprotectedChecks whether the dataset is active.
CheckBiDirectionalprotectedChecks whether the dataset is bidirectional.
CheckBrowseModepublicAutomatically posts or cancels data changes when the active record changes.
CheckCachedUpdateModeprotected
CheckDisposedprotectedThis method is deprecated.
CheckFieldCompatibilityprotectedChecks the compatibility of a field.
CheckInactiveprotectedChecks whether the dataset is inactive.
CheckOpenpublicChecks the result of a call to the Borland Database Engine (BDE).
CheckSetKeyModeprotected
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClearBuffersprotectedClears the buffers for the active record.
ClearCalcFieldsprotected
ClearFieldspublicClears the contents of all fields for the active record.
ClosepublicCloses a dataset.
CloseBlobprotected
CloseCursorprotected
CloseDatabasepublicCloses a database connection associated with the database session.
CommitUpdatespublicClears the cached updates buffer.
CompareBookmarkspublicIndicates the relationship between two bookmarks.
ConstraintCallBackpublicSpecifies the callback function that allows the dataset to communicate with the BDE constraint layer.
ConstraintsDisabledpublicIndicates whether constraints are enabled for a dataset.
ConstraintsStoredprotected
ControlsDisabledpublicIndicates whether data-aware controls update their display to reflect changes to the dataset.
CopyFieldspublicCopyFields copies the field definition structure of another dataset.
CreatepublicCreates an instance of a query component.
CreateBlobStreampublicReturns a TStream object for reading or writing the data in a specified blob field.
CreateExprFilterprotected
CreateFieldsprotectedCreates the automatic fields.
CreateFuncFilterprotected
CreateHandleprotected
CreateLookupFilter (deprecated)protected
CreateNestedDataSetprotectedCreates a nested dataset.
CursorPosChangedpublicMarks the internal cursor position as invalid.
DataConvert (deprecated)protectedConverts the data depending on the field type.
DataEventprotected
DeactivateFiltersprotected
DefaultFields (deprecated)publicIndicates whether a dataset's underlying field components are generated dynamically when the dataset is opened.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefChangedprotectedEvent handler that updates the field definition.
DefinePropertiesprotected
DeletepublicDeletes the active record and positions the dataset on the next record.
DestroypublicDestroys the instance of a query.
DestroyComponentspublicDestroys all owned components.
DestroyFieldsprotectedDestroys the dataset automatic fields.
DestroyHandleprotected
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DestroyLookupCursorprotected
DisableConstraintspublicDisables application of server constraints on the dataset.
DisableControlspublicDisables data display in data-aware controls associated with the dataset.
Disconnectprotected
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOf (deprecated)publicDisposeOf forces the execution of the destructor code in an object.
DoAfterCancelprotectedAfterCancel event dispatcher.
DoAfterCloseprotectedAfterClose event dispatcher.
DoAfterDeleteprotectedAfterDelete event dispatcher.
DoAfterEditprotectedAfterEdit event dispatcher.
DoAfterInsertprotectedAfterInsert event dispatcher.
DoAfterOpenprotectedAfterOpen event dispatcher.
DoAfterPostprotectedAfterPost event dispatcher.
DoAfterRefreshprotectedAfterRefresh event dispatcher.
DoAfterScrollprotectedAfterScroll event dispatcher.
DoBeforeCancelprotectedBeforeCancel event dispatcher.
DoBeforeCloseprotectedBeforeClose event dispatcher.
DoBeforeDeleteprotectedBeforeDelete event dispatcher.
DoBeforeEditprotectedBeforeEdit event dispatcher.
DoBeforeInsertprotectedBeforeInsert event dispatcher.
DoBeforeOpenprotectedBeforeOpen event dispatcher.
DoBeforePostprotectedBeforePost event dispatcher.
DoBeforeRefreshprotectedBeforeRefresh event dispatcher.
DoBeforeScrollprotectedBeforeScroll event dispatcher.
DoOnCalcFieldsprotectedOnCalcFields event dispatcher.
DoOnNewRecordprotectedOnNewRecord event dispatcher.
EditpublicEnables editing of data in the dataset.
EnableConstraintspublicEnables application of server constraints against dataset entries.
EnableControlspublicRe-enables data display in data-aware controls associated with the dataset.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecSQLpublicExecutes the SQL statement for the query.
ExecuteActionpublicExecutes an action.
FetchAllpublicRetrieves all records from the current cursor position to the end of the file and stores them locally.
FieldAddresspublicReturns the address of a published object field.
FieldByNamepublicFinds a field based on its name.
FieldByNumberprotectedFinds a field based on the ordinal position of its column in the underlying table or query.
FindComponentpublicIndicates whether a given component is owned by the component.
FindFieldpublicSearches for a specified field in the dataset.
FindFirstpublicImplements a virtual method for positioning the dataset on the first record, respecting any filters.
FindLastpublicImplements a virtual method for positioning the dataset on the last record, respecting any filters.
FindNextpublicImplements a virtual method for positioning the dataset on the next record, respecting any filters.
FindPriorpublicImplements a virtual method for positioning the dataset on the previous record, respecting any filters.
FindRecordprotected
FirstpublicMoves to the first record in the dataset.
FlushBufferspublicPosts all changes that have been written to the record buffer.
ForceUpdateCallbackprotected
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeBookmarkpublicFrees the resources allocated for a specified bookmark (somewhat obsolete).
FreeFieldBuffersprotectedFrees the field buffers.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeKeyBuffersprotected
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
FreeRecordBufferprotected
FreeStatementprotected
GetAggFieldsClassprotectedReturns the metaclass for the aggregate fields.
GetAggRecordCountprotectedReturns the number of aggregate fields.
GetAggregateValueprotectedReturns the value for an aggregate field.
GetBlobFieldDatapublicReads BLOB data into a buffer.
GetBookmarkpublicAllocates a bookmark for the active record in the dataset.
GetBookmarkData (deprecated)protected
GetBookmarkFlagprotected
GetBookmarkStr (deprecated)protectedGets a bookmark represented as a string.
GetCalcFields (deprecated)protectedComputes the lookup and calculated fields and updates the status.
GetCalcFieldTypesprotected
GetCanModifyprotected
GetCanRefreshprotected
GetCheckConstraintsClassprotectedReturns the metaclass for TCheckConstraints.
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenprotectedEnumerates all the owned datasets that are also owned by the specified TComponent.
GetClonedDataSetpublicCreates a new instance of the TDataSet derived class and clones the structure and data of this dataset to the new instance.
GetCurrentRecordpublicRetrieves the current record into a buffer.
GetDataSourceprotected
GetDeltaStreamsprotectedRetrieves a list of streams representing the differences (deltas) between the current state of a component and a previously saved state.
GetDetailDataSets (deprecated)publicFills a list with a dataset for every detail dataset that is not the value of a nested dataset field.
GetDetailLinkFieldspublicFills lists with the master and detail fields of the link.
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetFieldClassprotectedReturns the metaclass for a field class.
GetFieldData (deprecated)publicRetrieves the current value of a field into a buffer.
GetFieldDefListClassprotectedReturns the metaclass for a field definition list class.
GetFieldDefsClassprotectedReturns the metaclass of the TFieldDefs class.
GetFieldFullNameprotected
GetFieldList (deprecated)publicRetrieves a specified set of field objects into a list.
GetFieldListClassprotectedReturns the metaclass for a field list class.
GetFieldNamespublicRetrieves a list of names for all fields in a dataset.
GetFieldsClassprotectedReturns the TFields descendant metaclass.
GetHandleprotected
GetHashCodepublicReturns an integer containing the hash code.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetIndexDefsprotectedReturns the definitions of all specified indexes defined for the dataset.
GetIndexDefsClassprotectedReturns the metaclass for an index definition list.
GetIndexFieldprotected
GetIndexFieldCountprotected
GetIndexInfopublicRetrieves information about the current index into the index data fields of the dataset.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetIsIndexFieldprotected
GetKeyBufferprotected
GetKeyExclusiveprotected
GetKeyFieldCountprotected
GetLookupCursorprotected
GetLookupListClassprotectedReturns the metaclass for a lookup field list class.
GetModifiedBlobCachedprotected
GetNamePathpublicReturns a string used by the Object Inspector.
GetNextRecordprotectedMoves to the next record.
GetNextRecordsprotectedMoves to the last record of the dataset.
GetObjectTypeNamesprotected
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetParamsClassprotectedReturns the metaclass for a list of field parameters.
GetParamsCountprotected
GetParentComponentpublicReturns the containing component.
GetPriorRecordprotectedMoves to the prior record.
GetPriorRecordsprotectedMoves to the first record of the dataset.
GetRecNoprotected
GetRecordprotected
GetRecordCountprotected
GetRecordSizeprotected
GetStateFieldValueprotected
GetStatementHandleprotected
GetStoredFieldKindsprotected
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
GetUpdateRecordSetprotected
GetUpdatesPendingprotected
GotoBookmarkpublicImplements a virtual method to position the dataset on the record to which a specified bookmark points.
HasParentpublicVerifies whether the component has a parent.
InheritsFrompublicDetermines the relationship of two object types.
InitFieldDefsprotectedInitializes the field definitions.
InitFieldDefsFromFieldsprotectedInitializes the field definitions from persistent fields.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InitKeyBufferprotected
InitRecordprotected
InsertpublicInserts a new, empty record in the dataset.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InsertRecordpublicInserts a new, populated record to the dataset and posts it.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InternalAddRecord (deprecated)protected
InternalCancelprotected
InternalCloseprotected
InternalDeleteprotected
InternalEditprotected
InternalFirstprotected
InternalGotoBookmark (deprecated)protected
InternalHandleExceptionprotected
InternalInitFieldDefsprotected
InternalInitRecordprotected
InternalInsertprotected
InternalLastprotected
InternalOpenprotected
InternalPostprotected
InternalRefreshprotected
InternalSetToRecordprotected
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsCursorOpenprotected
IsEmptypublicIndicates whether the dataset contains no records.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
IsLinkedTopublicIndicates whether a dataset is linked to a specified data source.
IsSequencedpublicIsSequenced indicates whether sequence numbers are available for database records.
LastpublicMoves to the last record in the dataset.
Loadedprotected
LocatepublicSearches the dataset for a specified record and makes that record the current record.
LocateRecordprotected
LookuppublicRetrieves field values from a record that matches specified search values.
MapsToIndex (deprecated)protected
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MoveBypublicMoves to another record relative to the active record in the dataset.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NextpublicMoves to the next record in the dataset.
NotificationprotectedForwards notification messages to all owned components.
ObserverAddedprotectedAllows the component to handle the addition of an observer.
OpenpublicOpens the dataset.
OpenCursorprotected
OpenCursorCompleteprotectedOpens the database cursor and triggers an AfterOpen event.
OpenDatabasepublicOpens the database that contains the dataset.
OpenParentDataSetprotectedOpens the parent dataset.
operator []public
operator ()public
ParamByNamepublicAccesses parameter information based on a specified parameter name.
PostpublicWrites a modified record to the database.
PostKeyBufferprotected
PreparepublicSends a query to the Borland Database Engine (BDE) and the server for optimization prior to execution.
PrepareCursorprotected
PriorpublicMoves to the previous record in the dataset.
ProcessUpdatesprotected
PSEndTransactionprotected
PSExecuteprotected
PSExecuteStatement (deprecated)protected
PSGetAttributesprotected
PSGetCommandTextprotected
PSGetCommandTypeprotected
PSGetDefaultOrderprotected
PSGetIndexDefsprotectedReturns the definitions of all specified indexes defined for the dataset.
PSGetKeyFieldsprotectedReturns the names of all fields required to uniquely identify records in the data packet.
PSGetParamsprotected
PSGetQuoteCharprotected
PSGetTableNameprotected
PSGetUpdateExceptionprotected
PSInTransactionprotected
PSIsSQLBasedprotected
PSIsSQLSupportedprotected
PSResetprotected
PSSetCommandTextprotected
PSSetParamsprotected
PSStartTransactionprotected
PSUpdateRecordprotected
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedReads the state of the component.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RefreshpublicRe-fetches data from the database to update a dataset's view of data.
RefreshInternalCalcFields (deprecated)protectedRefreshes the calculated fields.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
ResetAggFieldprotectedResets the aggregate field.
ResetCursorRangeprotected
RestoreStateprotectedRestores the operating mode of the dataset to the given value.
ResyncpublicRe-fetches the active record and the records that precede and follow it.
RevertRecordpublicRestores the current record in the dataset to an unmodified state when cached updates are enabled.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetActiveprotectedChanges the dataset's state to active.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetBlockReadSizeprotected
SetBofprotected
SetBookmarkData (deprecated)protected
SetBookmarkFlagprotected
SetBookmarkStr (deprecated)protectedSets a bookmark represented as a string.
SetBufListSizeprotectedSets the size of the buffer list.
SetCachedUpdatesprotected
SetChildOrderprotectedSets the visual ordering of a child dataset.
SetCurrentRecordprotectedMoves to the record given by the index.
SetCursorRangeprotected
SetDataSetFieldprotectedSets the persistent TDataSetField object that owns a nested dataset.
SetDBFlagprotected
SetDefaultFields (deprecated)protectedSpecifies whether a dataset's underlying field components are generated dynamically when the dataset is opened.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetEofprotected
SetFieldData (deprecated)protected
SetFieldDefPropsprotectedSets the properties of the specified FieldDef from the Field parameter.
SetFieldPropsprotectedSets the properties of the specified Field from the FieldDef parameter.
SetFieldspublicSets the values for all fields in a record
SetFilterDataprotected
SetFilteredprotected
SetFilterHandleprotected
SetFilterOptionsprotected
SetFilterTextprotected
SetFoundprotectedSets a "found" flag.
SetHandleprotected
SetIndexFieldprotected
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetKeyBufferprotected
SetKeyExclusiveprotected
SetKeyFieldCountprotected
SetKeyFieldsprotected
SetLinkRangesprotected
SetLocaleprotected
SetModifiedprotectedUsed internally to set the Modified property.
SetNameprotected
SetObjectViewprotectedSets the ObjectView property.
SetOnFilterRecordprotected
SetOnUpdateErrorprotected
SetParentComponentprotectedSets the parent component.
SetRecNoprotected
SetStateprotectedSets the dataset's state.
SetStateFieldValueprotected
SetSubComponentpublicIdentifies whether the component is a subcomponent.
SetTempStateprotectedRestores the operating mode of the dataset to the given value.
SetUniDirectionalprotectedSets the dataset type: unidirectional or not.
SetupCallBackprotected
SetUpdateObjectprotected
SetUpdateRecordSetprotected
SetValidatingFieldprotected
SwitchToIndexprotected
TempBufferprotectedReturns a temporary buffer.
ToStringpublicReturns a string containing the class name.
TranslatepublicConverts a data string between the Microsoft ANSI character set, and the local code page (OEM character set).
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnPreparepublicFrees the resources allocated for a previously prepared query.
UpdateActionpublicUpdates the state of an action.
UpdateBufferCountprotectedUpdates the buffer count.
UpdateCallbackRequiredprotected
UpdateCursorPospublicPositions the cursor on the active record.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateIndexDefsprotectedUpdates the index definitions.
UpdateRecordpublicEnsures that data-aware controls and detail datasets reflect record updates.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdateStatuspublicReports the update status for the current record.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteStateprotectedWrites the state of the component.