RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBClient.TFetchOption Enumeration

TFetchOption and TFetchOptions indicate the type of information about a record that a client dataset can request.

Pascal
TFetchOption = (
  foRecord,
  foBlobs,
  foDetails
);
C++
enum TFetchOption {
  foRecord,
  foBlobs,
  foDetails
};

Providers encode the flags received from a client dataset that indicate what type of row information they require into a value of type TFetchOptions. This value is used internally when assembling the requested information. TFetchOptions is a set that includes zero or more of the following values:

Value 
Meaning 
foRecord  
The values of fields on the current record. (Used to refresh records).  
foBlobs  
The values of BLOB fields on the current record. (Used to implement delayed fetching of BLOB data).  
foDetails  
Any nested dataset fields for the current record. (Used to implement delayed fetching of detail datasets.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!