Contents Index Topic Contents | ||
Previous Topic: SOEMBEDINFO Next Topic: SOFILTERINFO |
SOFIELD
Contains information about a field in a database.
Syntax
typedef struct SOFIELDtag { WORD wStructSize; LONG dwWidth; char szName[40]; WORD wStorage; WORD wDisplay; DWORD dwSubDisplay; WORD wPrecision; WORD wAlignment; } SOFIELD, VWPTR * PSOFIELD;Members
- wStructSize
- Size, in bytes, of the structure.
- dwWidth
- Width, in characters, of the column.
- szName
- Null-terminated string specifying the name of the field.
- wStorage
- Storage type. This member can be one of these values:
SO_CELLBCD8I Packed BCD excess-63. See BCD8 for more information. SO_CELLEMPTY The cell is empty. SO_CELLERROR The cell has an error condition. SO_CELLIEEE4I IEEE 4-byte in Intel® (PC) ordering. See IEEE4 for more information. SO_CELLIEEE8I IEEE 8-byte in Intel (PC) ordering. See IEEE8 for more information. SO_CELLIEEE10I IEEE 10-byte in Intel (PC) ordering. See IEEE10 for more information. SO_CELLINT32S 32-bit signed integer. See Int32S for more information. SO_CELLINT32U 32-bit unsigned integer. See Int32U for more information. SO_FIELDTEXTFIX The field contains a string of fixed length. SO_FIELDTEXTVAR The field contains a string of unknown length. - wDisplay
- Display type. For more information, see the wDisplay member in the SODATACELL structure.
- dwSubDisplay
- Display subtype. For more information, see the dwSubDisplay member in the SODATACELL structure.
- wPrecision
- Precision or positioning value. For more information, see the wPrecision member in the SODATACELL structure.
If wStorage is the SO_FIELDTEXTFIX value, this member specifies the number of characters in the string.
- wAlignment
- Alignment of data in the cell. This member can be the SO_CELLLEFT, SO_CELLRIGHT, or SO_CELLCENTER value.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.