Click or drag to resize

DbFieldInfo Enumeration

X#
This enum specifies the various values that the FieldInfo method for the IRDD interface accepts.

Namespace:  XSharp.RDD.Enums
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 enum DbFieldInfo
Members
  Member nameValueDescription
DBS_NAME1Returns the name of the field.
DBS_TYPE2Returns the data type of the field. This is a single character string such as 'C' or 'N'.
DBS_LEN3Returns the length of the field.
DBS_DEC4 Returns the number of decimal places for the field.
DBS_ALIAS5Returns and optionally changes an alternate name (or alias) by which a field can be referenced (by default, same as DBS_NAME).
DBS_FLAGS6Returns the field flags for a field (a value from the DBFFieldFlags enum)
DBS_ISNULL11Harbour extension: Returns the flag that indicates if a field is Nullable.
DBS_COUNTER12Harbour extension: Returns the next available value for autoincrement fields.
DBS_STEP13Harbour extension: Returns the step value for autoincrement fields.
DBS_CAPTION14Foxpro extension: Returns the field caption.
DBS_COLUMNINFO15VFP / SQL extension: Returns the object with the complete column information.
DBS_DESCRIPTION16VFP / SQL extension: Returns a string describing the object (the comment).
DBS_BLANK17X# Extension: returns a blank value for the field.
DBS_BLOB_GET101Gets a BLOB value.
DBS_BLOB_TYPE102Unlike memo fields maintained in .DBT files, BLOB files allow you to store many different types of data in memo fields. This returns type type of the BLOB as a single character string.
DBS_BLOB_LEN103Returns the length of the BLOB data in a memo field as an unsigned long integer.
DBS_BLOB_OFFSET104
DBS_BLOB_POINTER198Returns a numeric pointer to the BLOB data associated with a memo field.
DBS_BLOB_DIRECT_TYPE222Returns the type of data in a BLOB as an unsigned long integer, without referencing a particular memo field. With this constant, you must specify the BLOB using a numeric pointer obtained from BLOBDirectPut(), BLOBDirectImport(), or DBFieldInfo(DBS_BLOB_POINTER, <nFieldPos>).
DBS_BLOB_DIRECT_LEN223Returns the length of data in a BLOB as an unsigned long integer, without referencing a particular memo field. With this constant, you must specify the BLOB using a numeric pointer obtained from BLOBDirectPut(), BLOBDirectImport(), or DBFieldInfo(DBS_BLOB_POINTER, <nFieldPos>).
DBS_STRUCT998Return the RDD FieldInfo structure
DBS_PROPERTIES999Returns the number of properties defined for a field.
DBS_USER1000Start of user defined FieldInfo values.
Remarks
Tip Tip
These enums are also available as DEFINES and can therefore also be used without the "DbFieldInfo." prefix.
See Also