RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Provider.TGetRecordOption Enumeration

TGetRecordOption and TGetRecordOptions influence what type of information is added to data packets.

Pascal
TGetRecordOption = (
  grMetaData,
  grReset,
  grXML,
  grXMLUTF8
);
C++
enum TGetRecordOption {
  grMetaData,
  grReset,
  grXML,
  grXMLUTF8
};

Provider

TGetRecordOptions is a set of TGetRecordOption values. TGetRecordOption values are listed in the following table:

Value 
Meaning 
grMetaData  
The data packet includes metadata as well as record values.  
grReset  
The records in the data packet start with the first record, regardless of the contents of any previously sent data packets.  
grXML  
The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are expressed using escape sequences.  
grXMLUTF8  
The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are encoded using UTF-8.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!